T3MP3ST v1 — hardened launch (AGPL, verify-claims 24/24, leak-scrubbed)

This commit is contained in:
faber committed 2026-07-04 21:11:05 -04:00
1 parent c7a356bde0
commit 6c57e09023
242 files changed
+1761 -51038

No files matched your search

@@ -1 +1 @@
{"id": "GHSA-36hh-x5p5-jgc8", "cve": "CVE-2026-44974", "repo": "hapijs/content", "cwes": ["CWE-436"], "vuln_files": ["lib/index.js"], "duration_sec": 143.2, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": true, "lineProx": false, "cweMatch": false, "hit": false, "title": "ReDoS (quadratic backtracking) in Content-Disposition parameter parsing", "file": "lib/index.js", "line": 88, "cwe": "CWE-1333"}], "n_findings": 1, "findings": [{"title": "ReDoS (quadratic backtracking) in Content-Disposition parameter parsing", "file": "lib/index.js", "line": 88, "cwe": "CWE-1333", "vuln_class": "dos", "severity": "high", "description": "exports.disposition() validates the header against contentDispositionRegex (line 96), extracts the parameter substring (match[1]), and then runs the global regex internals.contentDispositionParamRegex (line 88) over it via String.replace at line 107. That regex starts with the greedy group ([^\\=\\*\\s]+) which must then be followed by \\s*\\=. When attacker input contains a long run of non-'=', non-'*', non-whitespace characters that never contains an '=' (e.g. 'form-data; aaaaa...'), the greedy group matches the whole run, fails to find '=', and because the regex is global, String.replace re-attempts the match starting at every subsequent position. Each attempt does O(n) work, yielding O(n^2) total time with no upstream length limit in this module. Measured: 20k chars = 0.3s, 40k = 1.3s, 80k = 5.3s, 100k = 8.2s, 200k = 32s. This synchronously blocks the single-threaded Node.js event loop. The header value is fully attacker-controlled and reaches the sink without any length/complexity sanitizer (the only pre-checks are __proto__ guards and the form-data prefix match, neither of which limits input size).", "poc": "Send a multipart request whose part Content-Disposition header (or call Content.disposition() directly) is: 'form-data; ' followed by ~100000 'a' characters with no '=' sign. Example: Content.disposition('form-data; ' + 'a'.repeat(100000)) blocks the event loop for ~8 seconds; scaling the length increases the stall quadratically, enabling a single small-ish request to cause sustained denial of service.", "confidence": 0.9}], "transcript": ""}
{"id": "GHSA-36hh-x5p5-jgc8", "cve": "CVE-2026-44974", "repo": "hapijs/content", "cwes": ["CWE-436"], "vuln_files": ["lib/index.js"], "duration_sec": 112.6, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": false, "hit": true, "title": "Quadratic ReDoS in Content-Disposition parameter parsing", "file": "lib/index.js", "line": 107, "cwe": "CWE-1333"}], "n_findings": 1, "findings": [{"title": "Quadratic ReDoS in Content-Disposition parameter parsing", "file": "lib/index.js", "line": 107, "cwe": "CWE-1333", "vuln_class": "dos", "severity": "high", "description": "exports.disposition(header) parses the attacker-controlled Content-Disposition header. After the outer contentDispositionRegex captures the full parameter tail into match[1] (parameters), the code calls parameters.replace(internals.contentDispositionParamRegex, ...). The param regex begins with the group ([^\\=\\*\\s]+), which greedily matches any run of characters that are not '=', '*' or whitespace and must then be followed by '\\='. When the parameter string contains a long run of such characters with no '=', String.prototype.replace re-attempts the match at every start offset, and at each offset the leading [^=*\\s]+ consumes to the end and backtracks looking for '=' that never appears. This yields O(n^2) time in the length of the header value. No length validation or sanitizer sits between the source (raw header) and this sink. The regex is also module-global (/g) but the dominant cost is the per-offset backtracking. Measured: ~665ms for 40KB, ~2.6s for 80KB, ~10.5s for 160KB (ratio ~4x per 2x input => quadratic). This is reachable unauthenticated on any hapi endpoint accepting multipart uploads.", "poc": "Send an HTTP multipart request whose part contains a header: Content-Disposition: form-data; name=\"x\"; aaaaaaaa...aaaa (append ~150,000+ 'a' characters, i.e. a long run containing no '=' sign). Parsing this single header via content.disposition() blocks the Node.js event loop for ~10 seconds; a few such concurrent requests hang the server. Minimal reproducer: require('@hapi/content').disposition('form-data; name=\"x\"; ' + 'a'.repeat(160000));", "confidence": 0.88}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-3jmg-p96m-m328", "cve": "CVE-2026-46410", "repo": "gtsteffaniak/filebrowser", "cwes": ["CWE-200"], "vuln_files": ["backend/common/settings/settings.go"], "duration_sec": 81.8, "error": null, "strict": false, "lenient": false, "findings_scored": [], "n_findings": 0, "findings": [], "transcript": ""}
{"id": "GHSA-3jmg-p96m-m328", "cve": "CVE-2026-46410", "repo": "gtsteffaniak/filebrowser", "cwes": ["CWE-200"], "vuln_files": ["backend/common/settings/settings.go"], "duration_sec": 80.3, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "JWT signing key never randomly generated when unset \u2014 tokens signed/verified with empty HMAC secret", "file": "backend/common/settings/config.go", "line": 433, "cwe": "CWE-321"}, {"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "LDAP userFilter used as a printf format template for the login username (LDAP search filter injection)", "file": "backend/common/settings/auth.go", "line": 150, "cwe": "CWE-90"}], "n_findings": 2, "findings": [{"title": "JWT signing key never randomly generated when unset \u2014 tokens signed/verified with empty HMAC secret", "file": "backend/common/settings/config.go", "line": 433, "cwe": "CWE-321", "vuln_class": "auth-bypass", "severity": "critical", "description": "The Auth.Key field is documented (auth.go:50) as 'the key used to sign the JWT tokens. If not set, a random key will be generated.' However, the runtime initialization path Initialize() -> loadConfigWithDefaults() -> setupAuth() NEVER generates a random key. SetDefaults() leaves Auth.Key = \"\" (empty), loadEnvConfig() only sets it if FILEBROWSER_JWT_TOKEN_SECRET is provided (config.go:940), and setupAuth() (config.go:433) does nothing about the key. The GenerateKey() helper (settings.go:43) that produces a 64-byte crypto/rand secret exists but is never called anywhere in the module. The only guard, storage.go:36 (ErrEmptyKey), is in the persistence-Save path, not the Initialize runtime-config path used to derive the in-memory Config.Auth.Key that signs and verifies session JWTs. Consequently, any default deployment that does not explicitly set auth.key in YAML or the FILEBROWSER_JWT_TOKEN_SECRET env var runs with an empty HMAC signing key. Since the validConfig.yaml example ships with password auth enabled and no auth.key, this is the default state. An attacker who knows the empty/blank key (a fixed, guessable value) can forge arbitrary session JWTs \u2014 e.g. mint a token claiming the admin username \u2014 resulting in full authentication bypass / privilege escalation.", "poc": "Deploy filebrowser with the shipped default/validConfig.yaml (password auth enabled, no auth.key set, no FILEBROWSER_JWT_TOKEN_SECRET env var). Config.Auth.Key is the empty string. Forge a session JWT signed with HMAC-SHA256 using an empty key and a body claiming an admin user, e.g. header {\"alg\":\"HS256\",\"typ\":\"JWT\"}, payload {\"user\":\"admin\",\"exp\":<future>} signed with key=\"\". Present it as the session cookie/bearer token to gain authenticated admin access. Because the verifier uses the same empty key, the forged token validates.", "confidence": 0.72}, {"title": "LDAP userFilter used as a printf format template for the login username (LDAP search filter injection)", "file": "backend/common/settings/auth.go", "line": 150, "cwe": "CWE-90", "vuln_class": "injection", "severity": "medium", "description": "UserFilter defaults to '(&(cn=%s)(objectClass=user))' and is designed to be fmt.Sprintf'd with the attacker-supplied login username at authentication time. There is no ldap.EscapeFilter applied to the username before substitution, allowing LDAP filter metacharacters (e.g. '*', ')(', etc.) to alter the search filter semantics. Note: the actual Sprintf/search occurs in the login handler outside this module scope, so only the vulnerable template definition and lack of escaping are visible here.", "poc": "Log in via LDAP with username '*' or 'x)(uid=*))(|(uid=*' to broaden/alter the LDAP search filter and match unintended directory entries or bypass the intended cn match.", "confidence": 0.3}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-fqvv-jvhr-g5jc", "cve": "CVE-2026-42864", "repo": "ManoManoTech/firefighter-incident", "cwes": ["CWE-306", "CWE-918"], "vuln_files": ["src/firefighter/raid/serializers.py", "src/firefighter/raid/views/__init__.py"], "duration_sec": 188.9, "error": null, "strict": false, "lenient": true, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": true, "hit": false, "title": "Unauthenticated SSRF via attacker-controlled attachment URLs in Jira bot endpoint", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918"}, {"fileMatch": true, "lineProx": false, "cweMatch": true, "hit": true, "title": "Unauthenticated Jira webhook handlers allow forged incident status/priority changes", "file": "src/firefighter/raid/views/__init__.py", "line": 97, "cwe": "CWE-306"}], "n_findings": 2, "findings": [{"title": "Unauthenticated SSRF via attacker-controlled attachment URLs in Jira bot endpoint", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918", "vuln_class": "ssrf", "severity": "high", "description": "The `CreateJiraBotView` API endpoint (urls.py -> views/__init__.py) is exposed with `permission_classes = [permissions.AllowAny]`, so it is reachable by an unauthenticated attacker. Its serializer `LandbotIssueRequestSerializer` accepts an `attachments` field as a plain `CharField` with no URL/scheme/host validation. In `LandbotIssueRequestSerializer.create()` (serializers.py ~lines 247-257) the attachments string is split into a list and passed directly to `jira_client.add_attachments_to_issue(issue_id, attachments)`. The sink `RaidJiraClient.add_attachments_to_issue` (client.py:150) iterates the attacker-supplied list and performs `http_client.get(url)` for each entry with no allow-list, scheme check, or private-IP/metadata-host filtering. An attacker can therefore force the server to issue arbitrary outbound HTTP(S) GET requests to internal-only services or the cloud metadata endpoint, enabling internal port scanning and (on GCP/AWS) retrieval of instance metadata/credentials. The retrieved content is uploaded as a Jira attachment, providing an exfiltration channel for the fetched body.", "poc": "POST /api/<version>/raid/jira_bot HTTP/1.1\nContent-Type: application/json\n\n{\n \"summary\": \"x\",\n \"description\": \"x\",\n \"seller_contract_id\": \"1\",\n \"zoho\": \"\",\n \"platform\": \"FR\",\n \"reporter_email\": \"attacker@example.com\",\n \"incident_category\": \"\",\n \"suggested_team_routing\": \"SBI\",\n \"priority\": 4,\n \"business_impact\": \"Low\",\n \"attachments\": \"http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token\"\n}\n\nThe server (issue creation succeeds, then) performs http_client.get('http://169.254.169.254/...') from inside the trusted network and attaches the response body (e.g., the GCP service-account token) to the created Jira issue.", "confidence": 0.85}, {"title": "Unauthenticated Jira webhook handlers allow forged incident status/priority changes", "file": "src/firefighter/raid/views/__init__.py", "line": 97, "cwe": "CWE-306", "vuln_class": "auth-bypass", "severity": "medium", "description": "`JiraUpdateAlertView` and `JiraCommentAlertView` set `authentication_classes = []` and `permission_classes = [permissions.AllowAny]` (the maintainers left an `XXX: Work on webhook token` note). An attacker can POST a forged Jira `jira:issue_updated` webhook referencing any JiraTicket key. Through `JiraWebhookUpdateSerializer._handle_status_update`/`_handle_priority_update` this lets an unauthenticated remote attacker drive a real incident to CLOSED status or change its priority (calling `incident.create_incident_update`), and spam Slack channels with attacker-controlled author/comment text. Exploitation requires knowing/guessing a JiraTicket key, but keys are low-entropy sequential (PROJECT-NNN).", "poc": "POST /api/<version>/raid/jira_update with body {\"webhookEvent\":\"jira:issue_updated\",\"user\":{\"displayName\":\"x\"},\"issue\":{\"id\":1,\"key\":\"SBI-123\"},\"changelog\":{\"items\":[{\"field\":\"status\",\"fromString\":\"Reporter validation\",\"toString\":\"Closed\"}]}}", "confidence": 0.55}], "transcript": ""}
{"id": "GHSA-fqvv-jvhr-g5jc", "cve": "CVE-2026-42864", "repo": "ManoManoTech/firefighter-incident", "cwes": ["CWE-306", "CWE-918"], "vuln_files": ["src/firefighter/raid/serializers.py", "src/firefighter/raid/views/__init__.py"], "duration_sec": 175.1, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": true, "hit": false, "title": "Unauthenticated SSRF via attachment URLs in Jira bot issue creation", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918"}], "n_findings": 1, "findings": [{"title": "Unauthenticated SSRF via attachment URLs in Jira bot issue creation", "file": "src/firefighter/raid/client.py", "line": 150, "cwe": "CWE-918", "vuln_class": "ssrf", "severity": "high", "description": "The endpoint POST /api/v2/raid/jira_bot is served by CreateJiraBotView, which sets permission_classes = [permissions.AllowAny] and performs no authentication in code, making it attacker-reachable without credentials. Its serializer (LandbotIssueRequestSerializer) declares `attachments` as a plain serializers.CharField with no URL/scheme/host validation. In LandbotIssueRequestSerializer.create() (serializers.py:265) the raw attachment string is only stripped of brackets/quotes and split on ', ', then passed verbatim to jira_client.add_attachments_to_issue(issue_id, attachments). In RaidJiraClient.add_attachments_to_issue (client.py:135-150) each element is fetched via http_client.get(url) with no allowlist, scheme check, or IP filtering. An unauthenticated attacker therefore fully controls the server-side request target, enabling requests to internal-only services, cloud metadata endpoints (e.g. 169.254.169.254), and arbitrary internal hosts; the fetched content is even attached to the created Jira issue, allowing exfiltration of internal responses. The response.content is read into memory (io.BytesIO), so large/slow targets also enable DoS.", "poc": "POST /api/v2/raid/jira_bot HTTP/1.1\nContent-Type: application/json\n\n{\n \"summary\": \"x\",\n \"description\": \"x\",\n \"seller_contract_id\": \"1\",\n \"zoho\": \"1\",\n \"platform\": \"FR\",\n \"reporter_email\": \"a@b.com\",\n \"incident_category\": \"x\",\n \"suggested_team_routing\": \"SBI\",\n \"priority\": 4,\n \"business_impact\": \"Low\",\n \"environments\": [\"PRD\"],\n \"issue_type\": \"Incident\",\n \"attachments\": \"http://169.254.169.254/latest/meta-data/iam/security-credentials/\"\n}\n\nThe server issues an HTTP GET to the internal metadata endpoint; the response body is attached to the created Jira ticket (image0/), leaking internal data. Any internal URL (http://localhost:6379/, http://internal-admin/) works equally.", "confidence": 0.85}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-hm2w-vr2p-hq7w", "cve": null, "repo": "theopolis/uefi-firmware-parser", "cwes": ["CWE-787"], "vuln_files": ["uefi_firmware/compression/Tiano/Decompress.c"], "duration_sec": 135, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Out-of-bounds write in ReadCLen: attacker-controlled run-length fills mCLen[] past NC with no bounds check", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 525, "cwe": "CWE-787"}, {"fileMatch": true, "lineProx": true, "cweMatch": false, "hit": true, "title": "GetInfo reports DstSize purely from attacker-controlled header (size mismatch / undersized output buffer risk)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 717, "cwe": "CWE-130"}], "n_findings": 2, "findings": [{"title": "Out-of-bounds write in ReadCLen: attacker-controlled run-length fills mCLen[] past NC with no bounds check", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 525, "cwe": "CWE-787", "vuln_class": "out-of-bounds-write", "severity": "critical", "description": "In ReadCLen(), the symbol count `Number` is read from 9 attacker-controlled bits (GetBits(Sd, CBIT), CBIT=9 => up to 511) and the outer loop runs `while (Index < Number)`. Inside, when the decoded CharC<=2 it performs a run-length zero-fill: for CharC==2 the run length is `GetBits(Sd, CBIT) + 20` (up to 531) and the inner loop `while ((INT16)CharC >= 0) Sd->mCLen[Index++] = 0;` advances Index by up to ~531 in a single outer iteration. There is NO `Index >= NC` bound check anywhere in ReadCLen (NC=510, mCLen is UINT8 mCLen[510]). Because the outer bound is only re-checked between iterations and Index can jump by hundreds at a time, Index can be driven far beyond NC, writing zero bytes well past mCLen[] into the adjacent struct members (mPTLen, mCTable, mPTTable) and past the end of the SCRATCH_DATA scratch allocation. All inputs flow unvalidated from the compressed source buffer (Decompress -> Decode -> DecodeC -> ReadCLen) which is attacker-controlled firmware. Note the maintainer added a guard in MakeTable (Index>=TableSize) and a DataIdx check in Decode, but the analogous Index>=NC guard required in ReadCLen is missing (it exists in upstream/fixed EDK2). The line 531 single-byte write path is also unguarded.", "poc": "Provide a crafted EFI/Tiano compressed blob to EfiDecompress()/TianoDecompress(): 8-byte header CompSize/OrigSize consistent with SrcSize, then a block whose ReadPTLen tables decode the Char&Len set such that ReadCLen reads Number (9 bits) = large value and repeatedly decodes the code that maps to CharC==2, supplying GetBits(9)=large run lengths so the inner `Sd->mCLen[Index++] = 0;` loop advances Index past 510 and keeps overrunning across many outer iterations, corrupting memory beyond mCLen[510] within/after the SCRATCH_DATA buffer.", "confidence": 0.9}, {"title": "GetInfo reports DstSize purely from attacker-controlled header (size mismatch / undersized output buffer risk)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 717, "cwe": "CWE-130", "vuln_class": "info-disclosure", "severity": "low", "description": "GetInfo() derives *DstSize entirely from the 4-byte OrigSize field in the attacker-controlled source header with no sanity bound vs SrcSize. Decompress() later enforces DstSize==OrigSize, so a mismatch is rejected, but a caller that allocates based on this value and then runs the decoder is exposed to the ReadCLen/Decode write primitives above. Secondary to the primary finding.", "poc": "Header bytes 4..7 set to an arbitrary 32-bit OrigSize control the size returned to the caller for buffer allocation.", "confidence": 0.25}], "transcript": ""}
{"id": "GHSA-hm2w-vr2p-hq7w", "cve": null, "repo": "theopolis/uefi-firmware-parser", "cwes": ["CWE-787"], "vuln_files": ["uefi_firmware/compression/Tiano/Decompress.c"], "duration_sec": 139.8, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Out-of-bounds write in ReadCLen via unbounded code-length run expansion (missing Index >= NC guard)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 525, "cwe": "CWE-787"}, {"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Out-of-bounds read of destination buffer when DataIdx == mOrigSize (off-by-one in copy bound check)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 662, "cwe": "CWE-125"}], "n_findings": 2, "findings": [{"title": "Out-of-bounds write in ReadCLen via unbounded code-length run expansion (missing Index >= NC guard)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 525, "cwe": "CWE-787", "vuln_class": "buffer-overflow (out-of-bounds write)", "severity": "critical", "description": "ReadCLen() parses the Char&Len code-length table from the attacker-controlled compressed stream. Number = GetBits(Sd, CBIT=9) yields up to 511, while mCLen is only NC = (0xff + MAXMATCH + 2 - THRESHOLD) = 510 bytes. The loop `while (Index < Number)` writes Sd->mCLen[Index++] with NO check that Index < NC (the upstream EDK2 fix adds such a guard; it is absent here). Worse, the run-length branch reads CharC = GetBits(Sd, CBIT) + 20 (up to 531) and then executes `while ((INT16)CharC >= 0) { Sd->mCLen[Index++] = 0; CharC--; }`, so a single symbol can advance Index by up to ~531 with no bound. Index (UINT16) can therefore run far past 510, overflowing mCLen and clobbering the adjacent fields of SCRATCH_DATA (mPTLen[31], then mCTable[4096], mPTTable[256]). All of these values (Number and each CharC) are pulled directly from the compressed bitstream via GetBits with no validation or sanitizer between source and sink. Reachable unauthenticated by simply feeding a crafted Tiano/EFI-compressed section to TianoDecompress()/EfiDecompress()/Decompress(), which the parser invokes on untrusted firmware images.", "poc": "Build an EFI/Tiano compressed blob whose 8-byte header sets CompSize>=8 and any OrigSize (DstSize must equal OrigSize). In the first block: BlockSize (16 bits) nonzero; encode the Extra Set (ReadPTLen NT) as a trivial valid table; then in ReadCLen set Number (9 bits) = 511, and repeatedly emit the CharC==2 symbol whose run count GetBits(9)+20 = 531 zeros. On the first such symbol Index jumps from 0 to 531, writing Sd->mCLen[0..530]=0 \u2014 21 bytes past the 510-byte array \u2014 and subsequent iterations (Index<511) push writes hundreds of bytes further, corrupting mPTLen and mCTable in the SCRATCH_DATA buffer.", "confidence": 0.85}, {"title": "Out-of-bounds read of destination buffer when DataIdx == mOrigSize (off-by-one in copy bound check)", "file": "uefi_firmware/compression/Tiano/Decompress.c", "line": 662, "cwe": "CWE-125", "vuln_class": "info-disclosure (out-of-bounds read)", "severity": "low", "description": "In Decode(), the back-reference source index is validated with `if (DataIdx > Sd->mOrigSize)` using '>' rather than '>='. When DecodeP() yields a value making DataIdx exactly equal to mOrigSize, the guard passes and the copy loop reads Sd->mDstBase[DataIdx] one byte past the end of the destination buffer. Both DataIdx (derived from DecodeP over attacker bits) and the copy are attacker-influenced.", "poc": "Craft compressed data whose pointer decode produces DecodeP(Sd) such that mOutBuf - DecodeP - 1 == mOrigSize, passing the '>' check and reading mDstBase[mOrigSize].", "confidence": 0.3}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-hx53-77qj-8663", "cve": "CVE-2026-7474", "repo": "hashicorp/nomad", "cwes": ["CWE-22"], "vuln_files": ["client/hostvolumemanager/host_volume_plugin.go", "client/hostvolumemanager/host_volume_plugin_test.go", "client/hostvolumemanager/host_volumes_test.go"], "duration_sec": 95.4, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": false, "cweMatch": true, "hit": true, "title": "Path traversal in host-volume ID enables arbitrary directory deletion (RemoveAll) and creation on the client host", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 210, "cwe": "CWE-22"}, {"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Path traversal in PluginID selects and executes an arbitrary on-disk executable", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 229, "cwe": "CWE-22"}], "n_findings": 2, "findings": [{"title": "Path traversal in host-volume ID enables arbitrary directory deletion (RemoveAll) and creation on the client host", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 210, "cwe": "CWE-22", "vuln_class": "path-traversal", "severity": "high", "description": "The built-in 'mkdir' host-volume plugin builds the on-disk target path with path := filepath.Join(p.VolumesDir, req.ID) (lines 105 and 203) and then performs destructive filesystem operations: os.MkdirAll/os.Chmod/os.Chown in Create (lines 133-160) and os.RemoveAll(path) in Delete (line 210). req.ID originates from the ClientHostVolumeDeleteRequest/ClientHostVolumeCreateRequest forwarded verbatim to the client RPC handler (HostVolume.Create/Delete -> HostVolumeManager.Create/Delete -> getPlugin -> HostVolumePluginMkdir). Nowhere in client/hostvolumemanager is req.ID validated to reject '..' or absolute components, and filepath.Join cleans the path so a traversal like '../../../../etc' escapes VolumesDir. Because the Nomad client agent typically runs as root, a request with a traversing ID causes os.RemoveAll to recursively delete an arbitrary host directory (e.g. the volumes dir's parents, /etc, plugin dirs), and Create can chown/chmod arbitrary existing directories. This is a destructive, attacker-influenced filesystem primitive reachable from the dynamic-host-volume RPC path with no sanitizer between source and sink.", "poc": "Issue a dynamic host volume delete (or create) whose volume ID contains traversal, e.g. ClientHostVolumeDeleteRequest{PluginID:\"mkdir\", ID:\"../../../../../../etc/cron.d\", NodeID:<target>} -> client computes path=filepath.Join(VolumesDir, \"../../../../../../etc/cron.d\") and runs os.RemoveAll on it, deleting /etc/cron.d on the host. With Create, ID=\"../../../../some/existing/dir\" plus parameters {mode:777,uid:0} chmods/chowns that dir.", "confidence": 0.7}, {"title": "Path traversal in PluginID selects and executes an arbitrary on-disk executable", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 229, "cwe": "CWE-22", "vuln_class": "rce", "severity": "high", "description": "getPlugin(req.PluginID) (host_volumes.go) falls through to NewHostVolumePluginExternal(log, hvm.pluginDir, id, ...) where id == req.PluginID. The executable path is built as executable := filepath.Join(pluginDir, filename) (line 229) with no rejection of '..' or absolute path components. filepath.Join cleans the path, so a PluginID like '../../../../bin/sh' resolves to an executable outside the configured plugin directory. The only guard is os.Stat + helper.IsExecutable, so any executable file on the host can be selected and then invoked via exec.CommandContext in runPlugin/Fingerprint/Create/Delete with attacker-controlled environment variables (DHV_PARAMETERS, DHV_VOLUME_ID, etc.). The Nomad client runs this as root, allowing execution of arbitrary host binaries with attacker-influenced environment as part of volume create/delete/fingerprint.", "poc": "Send a dynamic host volume create/delete with PluginID=\"../../../../../../usr/bin/<target-binary>\" so filepath.Join(pluginDir, PluginID) resolves to an arbitrary executable, which Nomad then runs as the client process user (typically root) with attacker-controlled DHV_* env vars.", "confidence": 0.55}], "transcript": ""}
{"id": "GHSA-hx53-77qj-8663", "cve": "CVE-2026-7474", "repo": "hashicorp/nomad", "cwes": ["CWE-22"], "vuln_files": ["client/hostvolumemanager/host_volume_plugin.go", "client/hostvolumemanager/host_volume_plugin_test.go", "client/hostvolumemanager/host_volumes_test.go"], "duration_sec": 186.8, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Path traversal in external host-volume plugin resolution allows execution of arbitrary host executables", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 229, "cwe": "CWE-22"}, {"fileMatch": true, "lineProx": false, "cweMatch": true, "hit": true, "title": "Path traversal via volume ID in built-in mkdir plugin enables arbitrary directory creation/deletion", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 203, "cwe": "CWE-22"}], "n_findings": 2, "findings": [{"title": "Path traversal in external host-volume plugin resolution allows execution of arbitrary host executables", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 229, "cwe": "CWE-22", "vuln_class": "path-traversal", "severity": "high", "description": "HostVolumeManager.getPlugin() passes the caller-supplied req.PluginID straight to NewHostVolumePluginExternal() as `filename`, which builds the executable path via `filepath.Join(pluginDir, filename)` (line 229) with no filepath.Base()/dot-dot rejection. filepath.Join resolves `..` segments, so a PluginID like `../../../../bin/mount` (or any executable on the host) escapes the configured plugin directory. If the resolved path exists and IsExecutable, HostVolumePluginExternal.runPlugin runs it via exec.CommandContext with attacker-influenced environment variables (DHV_PARAMETERS, DHV_VOLUME_NAME, etc.) as the Nomad client process (commonly root). The data flow is: volume create/delete RPC (cstructs.ClientHostVolumeCreateRequest.PluginID) -> HostVolumeManager.Create/Delete -> getPlugin(req.PluginID) -> NewHostVolumePluginExternal(pluginDir, id) -> filepath.Join -> exec.CommandContext. No sanitizer validates the PluginID against traversal anywhere in the module.", "poc": "Submit a dynamic host volume create request whose plugin_id is a traversal path to a pre-existing executable, e.g. plugin_id = \"../../../../../../bin/sh\" (or any script/binary reachable from the client's plugin dir). getPlugin -> NewHostVolumePluginExternal resolves executable=/bin/sh (outside plugin dir) and Nomad executes it with the attacker-controlled DHV_* environment.", "confidence": 0.8}, {"title": "Path traversal via volume ID in built-in mkdir plugin enables arbitrary directory creation/deletion", "file": "client/hostvolumemanager/host_volume_plugin.go", "line": 203, "cwe": "CWE-22", "vuln_class": "path-traversal", "severity": "high", "description": "HostVolumePluginMkdir.Create (line 105) and Delete (line 203) compute the target path as `filepath.Join(p.VolumesDir, req.ID)` using the caller-supplied req.ID with no validation that it stays under VolumesDir. filepath.Join collapses `..` segments, so a volume ID containing `../` escapes VolumesDir. In Delete this reaches os.RemoveAll(path), giving an arbitrary recursive-delete primitive on the client host; in Create it reaches os.MkdirAll/os.Chmod/os.Chown on an attacker-chosen path. The ID flows unvalidated from the ClientHostVolume RPC args into the plugin.", "poc": "Create/delete a dynamic host volume using the built-in \"mkdir\" plugin with ID = \"../../../../etc/cron.d/evil\" (create) or ID = \"../../../../var/important\" (delete). Delete triggers os.RemoveAll(filepath.Join(VolumesDir, \"../../../../var/important\")) removing arbitrary host paths as the Nomad client user.", "confidence": 0.6}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-m6xr-fvfg-5g64", "cve": "CVE-2026-46378", "repo": "TomWright/dasel", "cwes": ["CWE-835"], "vuln_files": ["selector/lexer/tokenize.go", "selector/lexer/tokenize_test.go"], "duration_sec": 77.8, "error": null, "strict": false, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": false, "cweMatch": false, "hit": false, "title": "Panic (index out of range) when selector ends with whitespace", "file": "selector/lexer/tokenize.go", "line": 60, "cwe": "CWE-125"}, {"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Infinite loop on unterminated regex literal r/...", "file": "selector/lexer/tokenize.go", "line": 280, "cwe": "CWE-835"}], "n_findings": 2, "findings": [{"title": "Panic (index out of range) when selector ends with whitespace", "file": "selector/lexer/tokenize.go", "line": 60, "cwe": "CWE-125", "vuln_class": "dos", "severity": "high", "description": "In parseCurRune(), after the leading whitespace-skip loop (line 55) advances p.i, the code unconditionally dereferences p.src[p.i] at line 60 (the '//' comment check) and again at line 74 (the main switch) without re-checking p.i < p.srcLen. Next() guards only the entry condition p.i >= len(p.src), so any selector that contains trailing whitespace (or whose remaining suffix is only whitespace after a comment) will cause p.i to reach p.srcLen inside parseCurRune, and the next p.src[p.i] access panics with 'runtime error: index out of range'. Anywhere dasel exposes selector parsing to untrusted input (CLI args, library users, or any service embedding dasel's selector lexer), a one-byte attacker-controlled string such as a single space crashes the process. Tokenize() is the documented entrypoint, so reachability is trivial.", "poc": "lexer.NewTokenizer(\" \").Tokenize() // panics: runtime error: index out of range [1] with length 1. Also reproducible with any selector ending in whitespace, e.g. \"foo \" or \"a.b \".", "confidence": 0.95}, {"title": "Infinite loop on unterminated regex literal r/...", "file": "selector/lexer/tokenize.go", "line": 280, "cwe": "CWE-835", "vuln_class": "dos", "severity": "high", "description": "matchRegexPattern (line 274) recognises an 'r/' prefix and then scans for the closing '/': `for !p.peekRuneEqual(pos, '/') { pos++ }`. peekRuneEqual returns false whenever pos >= p.srcLen, so once pos walks past the end of the input without finding a '/', the condition stays true forever and pos is incremented without bound. There is no srcLen guard inside the loop and no error path for an unterminated regex. Any selector containing `r/` without a matching closing slash causes Tokenize() to hang, consuming a CPU core indefinitely (and eventually causing an integer overflow / huge allocation if it ever exited at p.src[start+2:pos-1]).", "poc": "lexer.NewTokenizer(\"r/abc\").Tokenize() // hangs forever inside matchRegexPattern's scan loop.", "confidence": 0.95}], "transcript": ""}
{"id": "GHSA-m6xr-fvfg-5g64", "cve": "CVE-2026-46378", "repo": "TomWright/dasel", "cwes": ["CWE-835"], "vuln_files": ["selector/lexer/tokenize.go", "selector/lexer/tokenize_test.go"], "duration_sec": 195.7, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Unbounded loop when lexing an unterminated regex pattern (r/...)", "file": "selector/lexer/tokenize.go", "line": 280, "cwe": "CWE-835"}, {"fileMatch": true, "lineProx": false, "cweMatch": false, "hit": false, "title": "Index-out-of-range panic on all-whitespace / trailing-whitespace selector", "file": "selector/lexer/tokenize.go", "line": 59, "cwe": "CWE-125"}], "n_findings": 2, "findings": [{"title": "Unbounded loop when lexing an unterminated regex pattern (r/...)", "file": "selector/lexer/tokenize.go", "line": 280, "cwe": "CWE-835", "vuln_class": "dos", "description": "matchRegexPattern is invoked whenever a token begins with the two characters 'r/'. After consuming 'r/' (pos += 2), the loop `for !p.peekRuneEqual(pos, '/') { pos++ }` scans for the closing slash with NO upper-bound check on pos. peekRuneEqual returns false for any pos >= srcLen (it never signals end-of-input), so when the input contains 'r/' but no closing '/', the negated condition (!false) stays true forever and pos is incremented without limit. The lexer hangs, pinning a CPU core indefinitely. Because dasel tokenizes attacker-supplied selector strings, any caller that lexes a user-provided selector containing an unterminated regex literal is subject to an unrecoverable denial of service (a hung goroutine, unlike a panic, cannot be caught with recover). Note the subsequent slice p.src[start+2:pos-1] would also panic once pos exceeds len(src), but the loop never exits to reach it.", "poc": "Tokenize a selector that contains an unterminated regex pattern, e.g. lexer.NewTokenizer(\"r/abc\").Tokenize() or any selector like \".foo == r/unterminated\". The Tokenize() call never returns and consumes 100% CPU.", "confidence": 0.9}, {"title": "Index-out-of-range panic on all-whitespace / trailing-whitespace selector", "file": "selector/lexer/tokenize.go", "line": 59, "cwe": "CWE-125", "vuln_class": "dos", "description": "parseCurRune first advances past whitespace with `for p.i < p.srcLen && unicode.IsSpace(...) { p.i++ }`, after which p.i can legitimately equal p.srcLen. The very next statement, the comment check `p.src[p.i] == '/'`, dereferences p.src[p.i] with no `p.i < p.srcLen` guard. Next() only guards the initial call (p.i >= len(p.src)), so a selector consisting of (or ending in) whitespace drives p.i to srcLen and triggers an out-of-range index panic. Combined with the rune-count/byte-index mismatch (srcLen = len([]rune(src)) but indexing uses byte offsets p.src[p.i]), multi-byte UTF-8 selectors can also index past valid positions. Any service tokenizing an untrusted selector can be crashed.", "poc": "lexer.NewTokenizer(\" \").Tokenize() // single space -> panic: runtime error: index out of range [1] with length 1. Also triggered by any selector ending in whitespace, e.g. \".foo \".", "confidence": 0.75}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-ph9p-34f9-6g65", "cve": "CVE-2026-44705", "repo": "raszi/node-tmp", "cwes": ["CWE-22"], "vuln_files": ["lib/tmp.js"], "duration_sec": 100.3, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Path traversal / arbitrary file & directory write outside tmpdir via prefix-only startsWith check", "file": "lib/tmp.js", "line": 581, "cwe": "CWE-22"}], "n_findings": 1, "findings": [{"title": "Path traversal / arbitrary file & directory write outside tmpdir via prefix-only startsWith check", "file": "lib/tmp.js", "line": 581, "cwe": "CWE-22", "vuln_class": "path-traversal", "severity": "high", "description": "The containment check in _getRelativePath (line 581) and its sync twin _getRelativePathSync (line 600) validates that a user-supplied 'dir', 'template' or 'name' option stays inside tmpDir using `resolvedPath.startsWith(tmpDir)`. This is a prefix match without a trailing path separator. An attacker-controlled `dir` (e.g. '../<tmpDirBasename>EVIL/sub') resolves (via path.join(tmpDir, name) + fs.realpath in _resolvePath/_resolvePathSync) to a SIBLING directory whose absolute path begins with the tmpDir string but is NOT actually inside tmpDir. For tmpDir '/tmp/realtmp', resolvedPath '/tmp/realtmpEVIL/pwned' satisfies startsWith(tmpDir) === true, so the check passes. The (escaped) relative path is then stored as options.dir and used by _generateTmpName -> path.join(tmpDir, opts.dir, name), causing fs.open (file/fileSync), fs.mkdir (dir/dirSync), and especially the recursive rimraf/FN_RIMRAF_SYNC removal used with unsafeCleanup to operate on a location OUTSIDE the temp directory the consumer intended to confine operations to. Verified empirically: resolvedPath '/tmp/realtmpEVIL/pwned'.startsWith('/tmp/realtmp') === true.", "poc": "const tmp = require('tmp'); // assume os.tmpdir() realpaths to '/private/tmp' or any dir; create sibling sharing prefix\n// tmpDir basename is e.g. 'mytmp' -> attacker provides a dir option escaping to a prefix-sharing sibling\ntmp.dirSync({ tmpdir: '/tmp/mytmpEVIL/inner', unsafeCleanup: true });\n// The startsWith('/tmp/tmp/inner',\n// so node-tmp creates (and on cleanup recursively rm -rf's) a directory OUTSIDE the intended tmpDir.\n// Equivalent file write: tmp.fileSync({ tmpdir:'/t/mytmp', name:undefined, dir:'../mytmpEVIL/x', template:'fileXXXXXX' });", "confidence": 0.85}], "transcript": ""}
{"id": "GHSA-ph9p-34f9-6g65", "cve": "CVE-2026-44705", "repo": "raszi/node-tmp", "cwes": ["CWE-22"], "vuln_files": ["lib/tmp.js"], "duration_sec": 48, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Path traversal / arbitrary file & directory creation via insufficient tmpDir boundary check (startsWith)", "file": "lib/tmp.js", "line": 581, "cwe": "CWE-22"}], "n_findings": 1, "findings": [{"title": "Path traversal / arbitrary file & directory creation via insufficient tmpDir boundary check (startsWith)", "file": "lib/tmp.js", "line": 581, "cwe": "CWE-22", "vuln_class": "path-traversal", "severity": "high", "description": "The containment check that is supposed to keep the resolved `dir`/`template`/`name` inside the temp root uses a bare string prefix test `resolvedPath.startsWith(tmpDir)` (line 581 in the async `_getRelativePath`, and identically line 600 in `_getRelativePathSync`). This does not enforce a path-separator boundary. Because `tmpDir` is derived from `fs.realpath(os.tmpdir())` (e.g. `/tmp`), any resolved path that merely shares that string prefix \u2014 such as the sibling directory `/tmpXXXX` reached via `dir: '../tmpXXXX'` \u2014 passes the check even though it lies OUTSIDE the temp root. The attacker-controlled `options.dir` (and `options.template`/`options.name`) flow: dir()/file()/dirSync()/fileSync() -> _assertAndSanitizeOptions[Sync] -> _getRelativePath[Sync]('dir', options.dir, tmpDir) -> _resolvePath (which joins `../tmpXXXX` onto tmpDir producing `/tmpXXXX` and returns realpath of its parent) -> the flawed startsWith gate. The escaped relative path is then stored in options.dir and consumed by _generateTmpName via `path.join(tmpDir, opts.dir, name)`, after which fs.mkdir / fs.open create a directory/file at the escaped location. Combined with symlinks under the tmp dir (which fs.realpath follows in _resolvePath), an attacker who controls the dir/template option can cause files/directories to be created outside the intended temp root (arbitrary write / directory creation, potential overwrite/cleanup outside tmp). This is CVE-2025-54798. The correct check must append path.sep (e.g. `resolvedPath !== tmpDir && !resolvedPath.startsWith(tmpDir + path.sep)`).", "poc": "Assume os.tmpdir() resolves to /tmp and a sibling dir /tmpbackdoor exists (or create the escape via a symlink placed inside /tmp). Call: require('tmp').dirSync({ dir: '../tmpbackdoor' }) \u2014 _resolvePathSync yields /tmpbackdoor, path.relative('/tmp','/tmpbackdoor') = '../tmpbackdoor', and '/tmpbackdoor'.startsWith('/tmp') === true, so the guard is bypassed and fs.mkdirSync creates a directory outside the temp root. Same works for tmp.fileSync({ template: '../tmpbackdoorXXXXXX' }) to create a file outside /tmp.", "confidence": 0.9}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-rg3m-cfq7-g6h6", "cve": "CVE-2026-43947", "repo": "frangoteam/FUXA", "cwes": ["CWE-863"], "vuln_files": ["server/api/command/index.js", "server/integrations/node-red/index.js"], "duration_sec": 102.9, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Node-RED admin auth bypass via unanchored URL substring match (\"/dashboard\") leading to RCE", "file": "server/integrations/node-red/index.js", "line": 160, "cwe": "CWE-287"}, {"fileMatch": true, "lineProx": false, "cweMatch": true, "hit": true, "title": "Node-RED SPA catch-all serves index from settings.httpStatic without sanitization (low)", "file": "server/integrations/node-red/index.js", "line": 280, "cwe": "CWE-285"}], "n_findings": 2, "findings": [{"title": "Node-RED admin auth bypass via unanchored URL substring match (\"/dashboard\") leading to RCE", "file": "server/integrations/node-red/index.js", "line": 160, "cwe": "CWE-287", "vuln_class": "auth-bypass", "severity": "critical", "description": "The allowDashboard middleware (mounted on app.use('/nodered', allowDashboard, RED.httpAdmin)) is the only authentication gate for the Node-RED admin/editor API; no adminAuth is configured in redSettings. At line 157 it builds url = req.originalUrl, which in Express includes the mount path AND the raw query string. Line 160 then grants public access with `if (url.includes('/dashboard') || url.includes('/socket.io')) return next();`. Because this is an unanchored substring test on the full URL+query, any request to a protected admin route that merely contains the substring '/dashboard' (or 'dashboard') anywhere\u2014including inside the query string\u2014short-circuits before the JWT / x-api-key validation, even when settings.secureEnabled is true. An unauthenticated attacker can therefore reach the full Node-RED admin REST API. Via POST /nodered/flows they can deploy a flow containing a Function node, which (with the broad functionGlobalContext exposing fs, fsSync, os, child_process when enabled, plus the FUXA runtime helpers like runScript/setTag) yields arbitrary file read/write and remote code execution on the FUXA host.", "poc": "1) Read flows unauthenticated: GET /nodered/flows?x=/dashboard HTTP/1.1 (url.includes('/dashboard') is true -> next() without token). 2) Deploy malicious flow unauthenticated: POST /nodered/flows?x=/dashboard with header 'Content-Type: application/json' and a flow array containing an inject node wired to a function node whose body uses the exposed global context, e.g. node 'func': {\"func\":\"const cp=global.get('child_process')||require('child_process'); cp.exec('id > /tmp/pwned'); return msg;\"} (or use fsSync to write a webshell). The deploy is accepted because authentication was bypassed, resulting in RCE.", "confidence": 0.9}, {"title": "Node-RED SPA catch-all serves index from settings.httpStatic without sanitization (low)", "file": "server/integrations/node-red/index.js", "line": 280, "cwe": "CWE-285", "vuln_class": "info-disclosure", "severity": "low", "description": "The same substring-based reasoning applies to the catch-all and exclusion logic using req.path.startsWith/includes; while less severe, the auth model around /nodered relies on fragile string matching. Secondary to the primary auth-bypass finding.", "poc": "GET /nodered/something?dashboard also bypasses the gate due to the same includes() check.", "confidence": 0.4}], "transcript": ""}
{"id": "GHSA-rg3m-cfq7-g6h6", "cve": "CVE-2026-43947", "repo": "frangoteam/FUXA", "cwes": ["CWE-863"], "vuln_files": ["server/api/command/index.js", "server/integrations/node-red/index.js"], "duration_sec": 48.5, "error": null, "strict": true, "lenient": true, "findings_scored": [{"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "Node-RED admin editor auth bypass via substring URL match (leads to RCE)", "file": "server/integrations/node-red/index.js", "line": 160, "cwe": "CWE-287"}, {"fileMatch": true, "lineProx": true, "cweMatch": true, "hit": true, "title": "getTagValue authorization can be bypassed via attacker-supplied sourceScriptName", "file": "server/api/command/index.js", "line": 80, "cwe": "CWE-639"}], "n_findings": 2, "findings": [{"title": "Node-RED admin editor auth bypass via substring URL match (leads to RCE)", "file": "server/integrations/node-red/index.js", "line": 160, "cwe": "CWE-287", "vuln_class": "auth-bypass", "severity": "critical", "description": "The `allowDashboard` middleware is the only authentication guard mounted in front of the Node-RED admin/editor API (`app.use('/nodered', allowDashboard, RED.httpAdmin)`). It builds `url = req.originalUrl || req.url || req.path` (which INCLUDES the query string) and then bypasses all authentication with `if (url.includes('/dashboard') || url.includes('/socket.io')) return next();`. Because `.includes()` is an unanchored substring match against the full URL (including the attacker-controlled query string), any request to the protected admin API can be made to satisfy the check simply by putting the literal string `/dashboard` (or `/socket.io`) anywhere in the query string. The intended prefix check (the public HTTP-node dashboard is served under httpNodeRoot `/dashboard`) is therefore trivially defeated, granting unauthenticated access to the Node-RED admin/editor endpoints under `/nodered`. Node-RED's admin API allows deploying flows containing `function` nodes that execute arbitrary JavaScript; combined with the exposed `functionGlobalContext` (fs, os, http, and optionally child_process, plus the FUXA `runtime`), this results in remote code execution / full server compromise. No JWT or API-key check is reached on the bypassed path.", "poc": "Unauthenticated attacker (secureEnabled=true, default auth mode) requests the Node-RED admin API with a query string containing the magic substring, e.g.:\n\n GET /nodered/settings?x=/dashboard HTTP/1.1\n\nor deploy a malicious flow:\n\n POST /nodered/flows?redirect=/dashboard HTTP/1.1\n Content-Type: application/json\n Node-RED-Deployment-Type: full\n [ {\"id\":\"1\",\"type\":\"tab\"}, {\"id\":\"2\",\"type\":\"inject\",\"z\":\"1\",\"props\":[{\"p\":\"payload\"}],\"once\":true,\"wires\":[[\"3\"]]}, {\"id\":\"3\",\"type\":\"function\",\"z\":\"1\",\"func\":\"require('child_process').exec('id > /tmp/pwned'); return msg;\",\"wires\":[[]]} ]\n\nThe `url.includes('/dashboard')` check passes, `next()` is called, the request hits RED.httpAdmin without any token validation, and the deployed function node executes attacker code on the server.", "confidence": 0.9}, {"title": "getTagValue authorization can be bypassed via attacker-supplied sourceScriptName", "file": "server/api/command/index.js", "line": 80, "cwe": "CWE-639", "vuln_class": "auth-bypass", "severity": "medium", "description": "The /api/getTagValue endpoint grants access if `runtime.scriptsMgr.isAuthorisedByScriptName(req.query.sourceScriptName, permission)` returns true. The script name is fully attacker-controlled via the query string, so a non-admin user can attempt to supply the name of any privileged script to satisfy the authorization check and read tag values they should not be able to access (info disclosure of process/SCADA tag values).", "poc": "GET /api/getTagValue?ids=[\"tag1\"]&sourceScriptName=<name-of-authorized-script> with a low-privilege token.", "confidence": 0.4}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-vv9j-gjw2-j8wp", "cve": "CVE-2026-42089", "repo": "yeoman/environment", "cwes": ["CWE-829"], "vuln_files": ["src/environment-full.ts"], "duration_sec": 220.2, "error": null, "strict": false, "lenient": false, "findings_scored": [], "n_findings": 0, "findings": [], "transcript": ""}
{"id": "GHSA-vv9j-gjw2-j8wp", "cve": "CVE-2026-42089", "repo": "yeoman/environment", "cwes": ["CWE-829"], "vuln_files": ["src/environment-full.ts"], "duration_sec": 272.9, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "ReDoS / quadratic-time regex in asNamespace() via `.replace(/(.*generator-)/, '')`", "file": "src/util/namespace.ts", "line": 67, "cwe": "CWE-1333"}], "n_findings": 1, "findings": [{"title": "ReDoS / quadratic-time regex in asNamespace() via `.replace(/(.*generator-)/, '')`", "file": "src/util/namespace.ts", "line": 67, "cwe": "CWE-1333", "vuln_class": "dos", "severity": "high", "description": "asNamespace() is invoked on attacker-influenced filepath/namespace strings (via Environment.namespace(), the lookup pipeline, and generator-lookup's asNamespace()). The cleanup step `ns.replace(/(.*generator-)/, '')` uses a greedy `.*` immediately followed by the literal `generator-`. When the input string does not contain the substring `generator-` (or contains near-matches), the regex engine must retry the greedy `.*` from many starting positions, producing quadratic O(n^2) time. Empirically: 50k chars => ~1s, 100k => ~4s, 200k => ~16s (confirmed via runtime measurement). A single long namespace/filepath supplied through the public `namespace()` API or a crafted file path processed during generator lookup blocks the Node.js event loop, causing denial of service.", "poc": "Call env.namespace('x'.repeat(200000)) (or asNamespace('x'.repeat(200000), {})), or have a package/file path of that length flow through lookupGenerators/lookupGenerator -> asNamespace. Each call hangs the event loop for tens of seconds; scaling the length increases the hang quadratically.", "confidence": 0.6}], "transcript": ""}
@@ -1 +1 @@
{"id": "GHSA-w4g9-mxgg-j532", "cve": "CVE-2026-46717", "repo": "nezhahq/nezha", "cwes": ["CWE-863", "CWE-918"], "vuln_files": ["model/notification.go", "model/notification_test.go"], "duration_sec": 104, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "Nil-pointer dereference / division-by-zero in alert cycle-transfer rule evaluation (DoS)", "file": "model/rule.go", "line": 187, "cwe": "CWE-476"}, {"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "Panic on slices.Max over empty slice for gpu_max / temperature_max rules (DoS)", "file": "model/rule.go", "line": 70, "cwe": "CWE-248"}, {"fileMatch": true, "lineProx": false, "cweMatch": false, "hit": false, "title": "Unescaped notification template substitution enables JSON/body injection in outbound notifications", "file": "model/notification.go", "line": 79, "cwe": "CWE-116"}], "n_findings": 3, "findings": [{"title": "Nil-pointer dereference / division-by-zero in alert cycle-transfer rule evaluation (DoS)", "file": "model/rule.go", "line": 187, "cwe": "CWE-476", "vuln_class": "dos", "severity": "high", "description": "Rule.CycleStart is a *time.Time tagged validate:\"optional\" and Rule.CycleInterval is an unvalidated uint64; both are populated directly from the alert-rule API form (AlertRuleForm.Rules -> Rule) and persisted/loaded via AlertRule.RulesRaw JSON (un)marshaling with no validation. In Rule.Snapshot, for any rule whose Type ends in '_cycle' (IsTransferDurationRule()==true), the block at lines 141-163 ALWAYS calls u.GetTransferDurationStart() and u.GetTransferDurationEnd() at lines 161-162 \u2014 independently of the 'if u.CycleInterval != 0' guards used earlier (lines 97/104/111). GetTransferDurationStart() begins with 'startTime := *u.CycleStart' (line 187): if cycle_start was omitted in the rule JSON, this dereferences a nil *time.Time and panics. The same functions also compute 'interval := 3600 * int64(u.CycleInterval)' and divide by it in the default/hour branch (lines 217/257); with cycle_interval==0 this is an integer division by zero panic. Either panic aborts the periodic alert-evaluation goroutine that runs Snapshot for every monitored server, taking down monitoring/alerting (availability) for the whole dashboard.", "poc": "As an authenticated user create/save an alert rule with a rule object: {\"rules\":[{\"type\":\"transfer_in_cycle\",\"max\":1}]} (no cycle_start, cycle_interval=0, cycle_unit unset). On the next alert tick the server evaluates Rule.Snapshot -> GetTransferDurationStart() -> '*u.CycleStart' nil dereference panic (and/or 3600*0 division-by-zero in the default unit branch), crashing the alerting loop.", "confidence": 0.78}, {"title": "Panic on slices.Max over empty slice for gpu_max / temperature_max rules (DoS)", "file": "model/rule.go", "line": 70, "cwe": "CWE-248", "vuln_class": "dos", "severity": "medium", "description": "In Rule.Snapshot, the 'gpu_max' branch calls slices.Max(server.State.GPU) (line 70) and the 'temperature_max' branch calls slices.Max(temp) (line 136). Go's slices.Max panics when given a zero-length slice. server.State.GPU and Temperatures originate from agent-reported HostState (PB2State) and are not guaranteed non-empty; an agent reporting no GPU/temperature data combined with an admin-configured 'gpu_max'/'temperature_max' alert rule causes slices.Max to panic and crash the alert-evaluation goroutine.", "poc": "Configure an alert rule {\"rules\":[{\"type\":\"gpu_max\",\"max\":1}]} for a server whose agent reports no GPU data (empty GPU slice). On evaluation, slices.Max([]) panics.", "confidence": 0.5}, {"title": "Unescaped notification template substitution enables JSON/body injection in outbound notifications", "file": "model/notification.go", "line": 79, "cwe": "CWE-116", "vuln_class": "info-disclosure", "severity": "low", "description": "reqBody()'s Form branch (line 79) calls replaceParamsInString with a nil mod function, so attacker-influenced server fields (e.g. Server.Name, public note, agent-reported metrics) are substituted into form/body parameters without escaping. Combined with attacker-controlled notification URL/headers (setRequestHeader sets arbitrary headers, Send may skip TLS verification), this allows content injection into outbound requests, though it requires notification configuration privileges.", "poc": "Set a server name containing form-breaking characters and a Form-type notification whose body references #SERVER.NAME#; the value is inserted unescaped into the urlencoded body.", "confidence": 0.2}], "transcript": ""}
{"id": "GHSA-w4g9-mxgg-j532", "cve": "CVE-2026-46717", "repo": "nezhahq/nezha", "cwes": ["CWE-863", "CWE-918"], "vuln_files": ["model/notification.go", "model/notification_test.go"], "duration_sec": 155.7, "error": null, "strict": false, "lenient": false, "findings_scored": [{"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "Nil pointer dereference in Rule.GetTransferDurationStart via cycle rule without cycle_start (dashboard DoS)", "file": "model/rule.go", "line": 187, "cwe": "CWE-476"}, {"fileMatch": false, "lineProx": false, "cweMatch": false, "hit": false, "title": "Integer divide-by-zero in Rule.GetTransferDurationStart/End for hour-unit cycle rule with cycle_interval=0 (dashboard DoS)", "file": "model/rule.go", "line": 217, "cwe": "CWE-369"}], "n_findings": 2, "findings": [{"title": "Nil pointer dereference in Rule.GetTransferDurationStart via cycle rule without cycle_start (dashboard DoS)", "file": "model/rule.go", "line": 187, "cwe": "CWE-476", "vuln_class": "dos", "severity": "high", "description": "Rule.CycleStart is a *time.Time tagged `validate:\"optional\"`, so it may be nil/omitted when a user creates an AlertRule. In Rule.Snapshot, once a rule's Type ends with '_cycle' (IsTransferDurationRule() == true), the block at rule.go:141 is entered unconditionally (independent of Max/Min/CycleInterval) and calls GetTransferDurationStart() at line 161 and GetTransferDurationEnd() at line 162. GetTransferDurationStart begins with `startTime := *u.CycleStart` (line 187), dereferencing the nil pointer and panicking. The AlertRule rules are attacker-controlled: they are supplied as JSON via the alert-rule create/update API (persisted to RulesRaw, reloaded in AlertRule.AfterFind). Snapshot is invoked by the alert-checking loop whenever a monitored server sends a state report, so the panic crashes the dashboard's alerting goroutine/process. No validation anywhere enforces a non-nil CycleStart for cycle-type rules.", "poc": "As an authenticated user, create an alert rule whose rules contain a cycle-type entry with no cycle_start, e.g. POST /api/v1/alert-rule with body: {\"name\":\"x\",\"rules\":[{\"type\":\"transfer_in_cycle\",\"max\":1,\"cycle_unit\":\"hour\",\"cycle_interval\":1}]} (note: cycle_start omitted -> nil). On the next server state report, Rule.Snapshot -> GetTransferDurationStart dereferences nil *CycleStart and panics, taking down the dashboard.", "confidence": 0.82}, {"title": "Integer divide-by-zero in Rule.GetTransferDurationStart/End for hour-unit cycle rule with cycle_interval=0 (dashboard DoS)", "file": "model/rule.go", "line": 217, "cwe": "CWE-369", "vuln_class": "dos", "severity": "high", "description": "For a cycle-type rule with CycleUnit empty or 'hour' (the default branch), GetTransferDurationStart computes `interval := 3600 * int64(u.CycleInterval)` (line 216) and then divides by `interval` (line 217: `(time.Now().Unix()-u.CycleStart.Unix())/interval*interval`). CycleInterval is tagged `validate:\"optional\"` and defaults to 0, so interval == 0 causes an integer divide-by-zero panic. Reached unconditionally from Rule.Snapshot line 161 for any '_cycle' rule (the CycleInterval!=0 guards at lines 97/104/111 do NOT protect the line-161 call). Same defect in GetTransferDurationEnd line 257. Attacker-controlled rule JSON triggers a dashboard-wide panic on server state report.", "poc": "Create alert rule: {\"name\":\"x\",\"rules\":[{\"type\":\"transfer_out_cycle\",\"max\":1,\"cycle_start\":\"2024-01-01T00:00:00Z\",\"cycle_unit\":\"hour\",\"cycle_interval\":0}]}. Next server report -> GetTransferDurationStart divides by zero -> panic/DoS.", "confidence": 0.6}], "transcript": ""}
@@ -0,0 +1 @@
{"schema": "t3mp3st.bench.cve-zero-v2.holdout/v1", "model": "opus-4-8", "effort": "xhigh", "split": "holdout", "built": "2026-07-04", "n": 10, "method": "Full-power pack-hunt on fresh post-cutoff 2026 CVEs the hardened prompts never saw. swarm = 10 hardened specialist classes, findings pooled (no skeptic filter); solo = 1 generalist. Both blind (no ground truth given to the agents).", "scoring": "verify-claims RECOMPUTES strict/lenient/anyHit from these raw findings + committed ground-truth.json via scoreSample/scoreFinding (top-3 by severity; hit = file-match AND (cwe-family OR line\u00b115)). Nothing here is a trusted stored score.", "caveats": "n=10 directional; swarm runs 10 specialists vs solo 1 (recall edge); this config pools without the skeptic used in the cli-swarm bake-off \u2014 NOT a coordination-beats-solo proof. The clean claim is generalization: fresh, unseen, cross-language.", "perSample": [{"id": "GHSA-2fp4-5v5c-4448", "solo": [{"title": "Path traversal in playlist cover-art lookup: attacker-controlled playlist ID resolves to arbitrary filesystem directory outside the playlist base path", "file": "server/ctrlsubsonic/handlers_raw.go", "line": 245, "cwe": "CWE-22", "severity": "high"}, {"title": "Nil pointer dereference (DoS) in getAvatar when an unknown username is supplied", "file": "server/ctrlsubsonic/handlers_raw.go", "line": 352, "cwe": "CWE-476", "severity": "low"}], "swarm": [{"title": "Path traversal in playlist cover art: attacker-controlled base64 id escapes playlist dir, enabling arbitrary directory listing and file read", "file": "server/ctrlsubsonic/handlers_raw.go", "line": 245, "cwe": "CWE-22", "severity": "high"}, {"title": "Path traversal via base64-encoded playlist specid (arbitrary file/dir read & write)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 197, "cwe": "CWE-22", "severity": "high"}, {"title": "Unbounded user-controlled slice index in songIndexToRemove causes index-out-of-range panic (DoS)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 156, "cwe": "CWE-129", "severity": "low"}, {"title": "getPlaylist: missing playlist ownership/visibility check lets any authenticated user read any private playlist (IDOR)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 57, "cwe": "CWE-639", "severity": "high"}, {"title": "deletePlaylist: no ownership check lets any authenticated user delete any user's playlist (IDOR)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 183, "cwe": "CWE-639", "severity": "high"}, {"title": "Non-constant-time comparison of stored password enables timing side-channel (CWE-208)", "file": "server/ctrlsubsonic/ctrl.go", "line": 293, "cwe": "CWE-208", "severity": "low"}, {"title": "Non-constant-time comparison of authentication token (CWE-208)", "file": "server/ctrlsubsonic/ctrl.go", "line": 285, "cwe": "CWE-208", "severity": "low"}, {"title": "Arbitrary file write via playlist path traversal (base64 playlist id \u2192 unvalidated filesystem path)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 110, "cwe": "CWE-22", "severity": "critical"}, {"title": "Arbitrary file delete via playlist path traversal in ServeDeletePlaylist (no ownership or containment check)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 183, "cwe": "CWE-22", "severity": "high"}, {"title": "Arbitrary file read via playlist path traversal (ServeGetPlaylist Read / coverForPlaylist os.Open)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 57, "cwe": "CWE-22", "severity": "high"}, {"title": "Unvalidated JSONP `callback` parameter reflected into executable JavaScript response", "file": "server/ctrlsubsonic/ctrl.go", "line": 341, "cwe": "CWE-79", "severity": "low"}, {"title": "Arbitrary file read: getCoverArt playlist cover lookup joins unsanitized traversal path and serves the file", "file": "server/ctrlsubsonic/handlers_podcast.go", "line": 245, "cwe": "CWE-22", "severity": "high"}, {"title": "Broken access control: any authenticated user can read any user's private playlist via /getPlaylist (missing ownership/public check)", "file": "server/ctrlsubsonic/handlers_playlist.go", "line": 51, "cwe": "CWE-639", "severity": "high"}, {"title": "Full-read SSRF: unvalidated http.Get of externally-sourced artist image URL with response reflected to caller", "file": "server/ctrlsubsonic/handlers_raw.go", "line": 184, "cwe": "CWE-918", "severity": "high"}, {"title": "Directory listing and cover-file read via playlist-cover path traversal", "file": "server/ctrlsubsonic/handlers_common.go", "line": 245, "cwe": "CWE-22", "severity": "medium"}, {"title": "Podcast episode download triggers privileged server-side fetch/disk-write with no admin/authorization gate", "file": "server/ctrlsubsonic/handlers_podcast.go", "line": 49, "cwe": "CWE-862", "severity": "medium"}]}, {"id": "GHSA-q6xx-5vr8-p898", "solo": [{"title": "Terminal WebSocket stream (/ws/terminal/{id}) performs no ownership or server-permission check, onlLine truncated