Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-5j35-xr4g-vwf4 — server

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-614 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

@grackle-ai/server has a Missing Secure Flag on Session Cookie

Impact

The session cookie is set with HttpOnly; SameSite=Lax; Path=/ but does not include the Secure flag. This means the cookie will be sent over plain HTTP connections.

Since the server binds to 127.0.0.1 by default and uses HTTP (not HTTPS), this is acceptable for localhost use. However, when --allow-network is used to bind to 0.0.0.0, cookies could be transmitted over insecure network connections and intercepted by an attacker.

Affected code:

  • packages/server/src/session.ts:76 — cookie string lacks ; Secure attribute

Patches

0.70.5

Fix: Conditionally add ; Secure when served over HTTPS or when --allow-network is enabled:

```typescript

const securePart = isHttps ? "; Secure" : "";

return ${SESSION_COOKIE_NAME}=${cookieValue}; HttpOnly; SameSite=Lax; Path=/${securePart}; Max-Age=${maxAge};

```

Workarounds

Do not use --allow-network over untrusted networks without a TLS-terminating reverse proxy.

Resources

  • OWASP: Secure Cookie Attribute
  • File: packages/server/src/session.ts

How this vulnerability can be exploited

This issue can be reached from an adjacent network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality low, integrity none, availability none.

Weakness class

GHSA-5j35-xr4g-vwf4 is classified as CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute. The Secure attribute for sensitive cookies in HTTPS sessions is not set.

Affected software

GHSA-5j35-xr4g-vwf4 is recorded against 1 package.

  • @grackle-ai/server

Timeline and source

Published on 25 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CWE CWE-614
Public Exploit ✅ No
Source OSV
Published 2026-03-25
Updated 2026-08-20
Modified 2026-03-25
Fix URL N/A

Affected Packages

Software From version Fixed in
@grackle-ai/server

Free Vulnerability Check

Is your site affected by GHSA-5j35-xr4g-vwf4?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-5j35-xr4g-vwf4 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.