CVE-2026-44287
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedFastGPT is an AI Agent building platform. Prior to 4.15.0-beta1, the JavaScript sandbox worker at projects/code-sandbox/src/pool/worker.ts:356 blocks dynamic import() with the regex /\bimport\s*\(/.test(code). JavaScript syntax accepts a block comment between import and (; the regex matches only ASCII whitespace, and the bytes /, *, *, / are not in the \s character class. The payload import/**/("child_process") parses as a syntactically valid dynamic import that the regex does not detect. Because import() is not wrapped by the safeRequire Proxy (which only proxies require), the attacker loads child_process and calls execSync - arbitrary command execution as uid=100(sandbox) inside the sandbox container. This vulnerability is fixed in 4.15.0-beta1.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe FastGPT JavaScript sandbox worker uses a flawed regex /\bimport\s*\(/ to block dynamic import() calls, but this regex only matches ASCII whitespace (\s) and can be bypassed using block comments like import/**/("child_process"). This allows attackers to load the child_process module and execute arbitrary commands via execSync as the sandbox user (uid=100).
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify FastGPT installationLocate the FastGPT installation directory and check for package.json or version configuration files. Common paths include the deployment directory or Docker container.Affected if FastGPT is not installed - the system is not affected.
-
Determine installed FastGPT versionRead the version from package.json, a version file, or run a command like 'npm list fastgpt' or 'docker ps' to inspect the container image tag.Affected if The installed version is earlier than 4.15.0-beta1 (such as 4.14.x, 4.13.x, or earlier).
-
Confirm sandbox worker is in useCheck if the FastGPT deployment uses the JavaScript sandbox worker feature, which is typically enabled by default for code execution capabilities.Affected if The sandbox worker is enabled and running to process dynamic code requests.
-
Verify regex protection existsInspect the sandbox worker source code for the regex pattern /\bimport\s*\(/ and confirm it only uses ASCII whitespace matching (\s), not Unicode-aware whitespace.Affected if The regex only matches ASCII \s and does not account for block comments between 'import' and '('.
A user is affected if FastGPT version is earlier than 4.15.0-beta1 and the sandbox worker with the vulnerable regex is enabled.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to FastGPT version 4.15.0-beta1 or later, which implements proper handling of dynamic import() and blocks the child_process module access.
4.15.0-beta1
- Upgrade FastGPT to version 4.15.0-beta1 or later
- Verify the upgrade was successful by checking the version number
- Test that the sandbox properly blocks dynamic imports including those with block comments like import/**/()
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-44287 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-44287 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data