Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @grackle-ai/server
  4. ›
  5. GHSA-8g29-8xwr-qmhr

GHSA-8g29-8xwr-qmhr: @grackle-ai/server JSON.parse lacks try-catch logic in its gRPC Service AdapterConfig Handling

March 25, 2026

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:415 — reconnectOrProvision handler
  • packages/server/src/grpc-service.ts:482 — stopEnvironment handler
  • packages/server/src/grpc-service.ts:498 — destroyEnvironment handler

References

  • github.com/advisories/GHSA-8g29-8xwr-qmhr
  • github.com/nick-pape/grackle
  • github.com/nick-pape/grackle/security/advisories/GHSA-8g29-8xwr-qmhr

Code Behaviors & Features

Detect and mitigate GHSA-8g29-8xwr-qmhr with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.70.6

Fixed versions

  • 0.70.6

Solution

Upgrade to version 0.70.6 or above.

Impact 2.2 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-754: Improper Check for Unusual or Exceptional Conditions

Source file

npm/@grackle-ai/server/GHSA-8g29-8xwr-qmhr.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:58 +0000.