CVE Explorer
CVE-2026-46627
Twig is a template language for PHP. Prior to 3.26.0, the Twig sandbox does not prevent a template from consuming CPU, memory, or wall-clock time, even under the strictest allow-list, allowing untrusted templates to cause resource exhaustion. This issue is addressed in version 3.26.0 by documenting that the sandbox does not protect against resource exhaustion.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Twig","vendor":"twigphp","versions":[{"status":"affected","version":"< 3.26.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/twigphp/Twig/commit/6bfa285e2f98651adb7aa480bf83a741d154f09f","tags":["x_refsource_MISC"],"url":"https://github.com/twigphp/Twig/commit/6bfa285e2f98651adb7aa480bf83a741d154f09f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/references/1
{"name":"https://github.com/twigphp/Twig/releases/tag/v3.26.0","tags":["x_refsource_MISC"],"url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/references/2
{"name":"https://github.com/twigphp/Twig/security/advisories/GHSA-923g-j88x-j34q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-923g-j88x-j34q"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb4d1b1155cbb229605d8ca6f9e5bc9232315b970b39d0afcf061f23ea64ea9b · sha256:47e50107563f6ca0… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.