Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-8g29-8xwr-qmhr — server

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

Description

@grackle-ai/server JSON.parse lacks try-catch logic in its gRPC Service AdapterConfig Handling

Impact

JSON.parse(env.adapterConfig) is called without error handling in three locations within the gRPC service. While the data originates from the server's own SQLite database and should always be valid JSON, database corruption, migration errors, or unexpected state could cause an unhandled exception that crashes the gRPC handler.

Additionally, the parsed result is cast as Record<string, unknown> and passed to adapter methods without property validation, creating a theoretical prototype pollution surface if the database is compromised.

Affected code:

  • packages/server/src/grpc-service.ts:415reconnectOrProvision handler
  • packages/server/src/grpc-service.ts:482stopEnvironment handler
  • packages/server/src/grpc-service.ts:498destroyEnvironment handler

Patches

Fix: Wrap in try-catch and return a meaningful gRPC error:

```typescript

let config: Record<string, unknown>;

try {

config = JSON.parse(env.adapterConfig) as Record<string, unknown>;

} catch {

throw new ConnectError("Invalid adapter configuration", Code.Internal);

}

```

Workarounds

Ensure database integrity. Back up the SQLite database regularly.

Resources

  • CWE-754: Improper Check for Unusual or Exceptional Conditions
  • File: packages/server/src/grpc-service.ts

How this vulnerability can be exploited

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

Weakness class

GHSA-8g29-8xwr-qmhr is classified as CWE-754: Improper Check for Unusual or Exceptional Conditions. The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.

Affected software

GHSA-8g29-8xwr-qmhr 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:N/AC:H/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CWE CWE-754
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-8g29-8xwr-qmhr?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-8g29-8xwr-qmhr 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.