{"kind": "product", "path": "vulns/debian-13/php-twig", "name": "php-twig", "product": "php-twig", "ecosystem": "Debian:13", "items": [{"id": "CVE-2026-46636", "noindex": false, "published": "2026-09-04T22:07:35.122Z", "modified": "2026-09-08T17:38:45.651Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.0057, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46636", "title": "Twig: Sandbox method allowlist bypass via `Markup` subclass", "description": "Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\\Markup. Twig\\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-64jr-qjx4-w2fh", "https://security-tracker.debian.org/tracker/CVE-2026-46636", "https://security-tracker.debian.org/tracker/DSA-6311-1"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-48805", "noindex": false, "published": "2026-07-14T21:26:34.876Z", "modified": "2026-07-16T15:09:20.665Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00483, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-48805", "title": "Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`", "description": "Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-p42q-9prx-q5wq", "https://github.com/twigphp/Twig/commit/e235cae3a1d1e23edc24df4d675f18108c6b167b", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-49981", "noindex": false, "published": "2026-07-14T21:26:00.460Z", "modified": "2026-07-21T14:57:52.032Z", "cvss": 6, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00362, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-49981", "title": "Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`", "description": "Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes between renders, allowing a later sandboxed render to reuse a template that was originally checked with a different or empty policy. This issue is fixed in version 3.27.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-529h-vh3j-85hq", "https://github.com/twigphp/Twig/commit/23eb6eb1267cb0d303b91eb5cff9b0c559c538a4", "https://github.com/twigphp/Twig/releases/tag/v3.27.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46637", "noindex": false, "published": "2026-07-14T21:25:20.141Z", "modified": "2026-07-16T15:05:57.087Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00305, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46637", "title": "Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`", "description": "Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3", "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299", "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46638", "noindex": false, "published": "2026-07-14T21:23:50.961Z", "modified": "2026-07-15T12:48:08.554Z", "cvss": 6, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00473, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46638", "title": "Twig: `{% sandbox %}{% include %}` skips checkSecurity() on cached templates (incomplete fix for CVE-2024-45411)", "description": "Twig is a template language for PHP. Prior to 3.26.0, {% sandbox %}{% include %} can include a template that was previously loaded outside the sandbox without re-invoking checkSecurity(), allowing the cached template to use tags, filters, and functions that should have been denied by SecurityPolicy::checkSecurity(). This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-7fxw-r6jv-74c8", "https://github.com/twigphp/Twig/commit/819c6a89fe0f261b8555c4f4d5e27d31984223ea", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46640", "noindex": false, "published": "2026-07-14T21:22:57.332Z", "modified": "2026-07-16T03:55:34.985Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00642, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46640", "title": "Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation", "description": "Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-45vw-wh46-2vx8", "https://github.com/twigphp/Twig/commit/324fa60545694fa6abe85ded9befcb82e1066bc2", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46629", "noindex": false, "published": "2026-07-14T21:22:15.595Z", "modified": "2026-07-15T12:53:13.636Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00542, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46629", "title": "Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments", "description": "Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\\Environment. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp", "https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-47730", "noindex": false, "published": "2026-07-14T21:21:10.185Z", "modified": "2026-07-21T14:45:11.407Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00295, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-47730", "title": "Twig: XSS in profiler HtmlDumper via unescaped template and profile names", "description": "Twig is a template language for PHP. From 3.0.0 until 3.26.0, Twig\\Profiler\\Dumper\\HtmlDumper writes Profile::getTemplate() and Profile::getName() into HTML output without escaping, allowing attacker-controlled template or profile names to inject arbitrary HTML when a browser renders the profiler dump. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-2g2g-8p8h-fgwm", "https://github.com/twigphp/Twig/commit/a5f6e8793e603ef34fa86aed2a72f9fbe0b43745", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46628", "noindex": false, "published": "2026-07-14T21:19:54.501Z", "modified": "2026-07-15T12:49:21.254Z", "cvss": 5.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "severity": "medium", "epss": 0.00295, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46628", "title": "Twig: The `spaceless` filter implicitly marks its output as safe", "description": "Twig is a template language for PHP. Prior to 3.26.0, the deprecated spaceless filter is registered as safe for HTML, causing Twig autoescaping to emit attacker-controlled markup unescaped when spaceless is applied to untrusted input. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-4j38-f5cw-54h7", "https://github.com/twigphp/Twig/commit/3190b9ae12614dfd58cc5d8f394bac4708b17913", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46634", "noindex": false, "published": "2026-07-14T21:19:17.804Z", "modified": "2026-07-29T18:26:17.523Z", "cvss": 7.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00616, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46634", "title": "Twig: `template_from_string()` escapes a SourcePolicy-driven sandbox via synthesized template name", "description": "Twig is a template language for PHP. From 3.9.0 until 3.26.0, template_from_string() compiles an inner template under a synthesized __string_template__<hash> name that can fall outside a SourcePolicyInterface sandbox decision, allowing a sandboxed template that can call template_from_string and include to render an inner template without security policy enforcement. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-24x9-r6q4-q93w", "https://github.com/twigphp/Twig/commit/1cde8f2b62463f85d47995fc25f8241cb409d915", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46627", "noindex": false, "published": "2026-07-14T21:15:17.366Z", "modified": "2026-07-16T15:03:37.558Z", "cvss": 7.1, "cvss_vector": "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", "severity": "high", "epss": 0.00542, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46627", "title": "Twig: Sandbox resource exhaustion via unbounded `for` / `range()`", "description": "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.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-923g-j88x-j34q", "https://github.com/twigphp/Twig/commit/6bfa285e2f98651adb7aa480bf83a741d154f09f", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46633", "noindex": false, "published": "2026-07-14T21:14:24.916Z", "modified": "2026-07-16T03:55:36.587Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00688, "kev": false, "exploits": ["public-poc"], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46633", "title": "Twig: PHP code injection via `{% use %}` template name", "description": "Twig is a template language for PHP. Prior to 3.26.0, Compiler::string() does not escape single quotes when a template name from a {% use %} tag is placed inside a PHP single-quoted string literal, allowing a crafted template name to terminate the string and inject arbitrary PHP expressions into the compiled cache file. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-7p85-w9px-jpjp", "https://github.com/twigphp/Twig/commit/679447fa29083043665482ccf7d64372472621b8", "https://github.com/twigphp/Twig/commit/e9ff55f6910832428e48a35b2e0748189ad49ae3"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-46635", "noindex": false, "published": "2026-07-14T21:12:56.046Z", "modified": "2026-07-15T13:26:27.106Z", "cvss": 5.3, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N", "severity": "medium", "epss": 0.00331, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-46635", "title": "Twig: Sandbox property allowlist bypass via the `column` filter (array_column on objects)", "description": "Twig is a template language for PHP. Prior to 3.26.0, the column filter passes object arrays to PHP array_column(), which reads public and magic properties without reaching CoreExtension::getAttribute() or SandboxExtension::checkPropertyAllowed(), allowing an untrusted template author with column in allowedFilters to read properties that are not in the sandbox allowlist. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-vcc8-phrv-43wj", "https://github.com/twigphp/Twig/commit/f05c5011c25caf17de37614b7e04662022532ac4", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-47732", "noindex": false, "published": "2026-07-14T21:12:13.071Z", "modified": "2026-07-15T13:26:33.236Z", "cvss": 7.1, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00402, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-47732", "title": "Twig Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points", "description": "Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-pr2w-4gpj-cpq4", "https://github.com/twigphp/Twig/commit/447d0b2331e01b8fc6e08119ac984e1ef50caef9", "https://github.com/twigphp/Twig/releases/tag/v3.26.0"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2026-24425", "noindex": false, "published": "2026-05-20T13:45:02.413Z", "modified": "2026-10-08T15:22:18.580Z", "cvss": 8.7, "cvss_vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "severity": "high", "epss": 0.00758, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2026-24425", "title": "Twig 2.16.x & 3.9.0-3.25.x Sandbox Bypass via SourcePolicyInterface", "description": "Twig versions 2.16.x and 3.9.0 through 3.25.x contain a sandbox bypass vulnerability when using a SourcePolicyInterface that allows attackers with template rendering capabilities to pass arbitrary PHP callables to sort, filter, map, and reduce filters. Attackers can exploit the runtime check that fails to use the current template source to bypass sandbox restrictions and execute arbitrary code when the sandbox is enabled through a source policy rather than globally.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-2q52-x2ff-qgfr", "https://github.com/twigphp/Twig/releases/tag/v3.26.0", "https://www.vulncheck.com/advisories/twig-x-x-sandbox-bypass-via-sourcepolicyinterface"], "fixes": ["3.27.0-0+deb13u1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2025-24374", "noindex": false, "published": "2025-01-29T15:22:34.012Z", "modified": "2025-01-29T15:44:49.358Z", "cvss": 4.3, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "severity": "medium", "epss": 0.0029, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2025-24374", "title": "Twig fixes a security issue where escaping was missing when using null coalesce operator (??)", "description": "Twig is a template language for PHP. When using the ?? operator, output escaping was missing for the expression on the left side of the operator. This vulnerability is fixed in 3.19.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-3xg3-cgvq-2xwr", "https://github.com/twigphp/Twig/commit/38576b12f05df3cc871bf68f39ccb46b418334a3", "https://nvd.nist.gov/vuln/detail/CVE-2025-24374"], "fixes": ["3.19.0-1~bootstrap"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2024-51754", "noindex": false, "published": "2024-11-06T19:28:17.553Z", "modified": "2025-05-29T09:03:17.579Z", "cvss": 2.2, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N", "severity": "low", "epss": 0.00435, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-51754", "title": "Unguarded calls to __toString() when nesting an object into an array in Twig", "description": "Twig is a template language for PHP. In a sandbox, an attacker can call `__toString()` on an object even if the `__toString()` method is not allowed by the security policy when the object is part of an array or an argument list (arguments to a function or a filter for instance). This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-6377-hfv9-hqf6", "https://github.com/twigphp/Twig/commit/2bb8c2460a2c519c498df9b643d5277117155a73", "https://lists.debian.org/debian-lts-announce/2025/05/msg00039.html"], "fixes": ["3.14.2-1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2024-51755", "noindex": false, "published": "2024-11-06T19:27:05.347Z", "modified": "2024-11-07T15:12:59.408Z", "cvss": 2.2, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N", "severity": "low", "epss": 0.00425, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-51755", "title": "Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig", "description": "Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh", "https://github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21", "https://nvd.nist.gov/vuln/detail/CVE-2024-51755"], "fixes": ["3.14.2-1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2024-45411", "noindex": false, "published": "2024-09-09T18:20:28.363Z", "modified": "2024-09-16T12:04:18.107Z", "cvss": 8.6, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H", "severity": "high", "epss": 0.00849, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2024-45411", "title": "Twig has a possible sandbox bypass", "description": "Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-6j75-5wfj-gh66", "https://github.com/twigphp/Twig/commit/11f68e2aeb526bfaf638e30d4420d8a710f3f7c6", "https://github.com/twigphp/Twig/commit/2102dd135986db79192d26fb5f5817a566e0a7de"], "fixes": ["3.8.0-4"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}, {"id": "CVE-2022-39261", "noindex": false, "published": "2022-09-28T00:00:00.000Z", "modified": "2025-04-23T16:54:59.321Z", "cvss": 7.5, "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "severity": "high", "epss": 0.03174, "kev": false, "exploits": [], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}], "path": "vulns/cve-2022-39261", "title": "Twig may load a template outside a configured directory when using the filesystem loader", "description": "Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.", "references": ["https://github.com/twigphp/Twig/security/advisories/GHSA-52m2-vc4m-jj33", "https://github.com/twigphp/Twig/commit/35f3035c5deb0041da7b84daf02dea074ddc7a0b", "https://www.drupal.org/sa-core-2022-016"], "fixes": ["3.4.3-1"], "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}]}], "total": 21, "unknown_count": 0, "release_unconfirmed": false, "page": 1, "pages": 2, "filtered": false, "noindex": false, "filters": {}, "page_size": 20, "products": [{"name": "php-twig", "path": "vulns/debian-13/php-twig", "ecosystem": "Debian:13"}], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}, {"name": "web", "path": "vulns/stack/web", "slug": "web"}, {"name": "php", "path": "vulns/stack/php", "slug": "php"}, {"name": "python", "path": "vulns/stack/python", "slug": "python"}, {"name": "node", "path": "vulns/stack/node", "slug": "node"}, {"name": "database", "path": "vulns/stack/database", "slug": "database"}, {"name": "containers", "path": "vulns/stack/containers", "slug": "containers"}, {"name": "network", "path": "vulns/stack/network", "slug": "network"}, {"name": "applications", "path": "vulns/stack/applications", "slug": "applications"}], "versions": [], "stats": {"recent": 0, "kev": 0}, "lastmod": "2026-10-08T15:22:18.580Z", "early_advisories": [], "license": "You may freely use the PatchFirst selection and our additions (priorities, early warnings, texts, summaries and aggregates) for your own purposes, including internal business use. Resale, commercial distribution and bulk mirroring of this selection or these additions require a written agreement with the operator. Whenever you use or publish the selection or our additions, credit PatchFirst (https://patchfirst.dev/vulns/) with this link to the regional feed page. Original records from open sources remain subject to their respective licenses and terms. These conditions do not restrict your rights to the original data, which you can obtain directly from those sources.", "terms_url": "https://patchfirst.dev/vulns/#feed-terms", "attribution": {"name": "PatchFirst", "url": "https://patchfirst.dev/vulns/"}, "source_changes": "Records are selected, normalized and combined by PatchFirst; summaries and translations may be added. News is credited with a link to the original source in each entry.", "sources": [{"id": "cve", "name": "CVE List / CVE.org", "url": "https://www.cve.org/", "license": "CVE Terms of Use", "terms_url": "https://www.cve.org/Legal/TermsOfUse", "notice": "Copyright © 1999–2021, The MITRE Corporation. LICENSE Submissions : For all materials you submit to the Common Vulnerabilities and Exposures (CVE™), you hereby grant to The MITRE Corporation (MITRE) and all CVE Numbering Authorities (CNAs) a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute such materials and derivative works. Unless required by applicable law or agreed to in writing, you provide such materials on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. CVE Usage : MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. DISCLAIMERS ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN \"AS IS\" BASIS AND THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF TRUSTEES, OFFICERS, AGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."}, {"id": "osv", "name": "OSV", "url": "https://osv.dev/", "terms_url": "https://google.github.io/osv.dev/data/", "terms": "Upstream licenses vary; see the source catalog."}, {"id": "kev", "name": "CISA KEV", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "license": "CC0-1.0", "terms_url": "https://github.com/cisagov/kev-data/blob/develop/LICENSE"}, {"id": "epss", "name": "FIRST EPSS", "url": "https://www.first.org/epss/", "terms_url": "https://www.first.org/epss/faq", "terms": "Free public scores; attribution requested (FIRST EPSS, scores generated by Empirical Security)."}, {"id": "github-advisory", "name": "GitHub Advisory Database", "url": "https://github.com/advisories", "license": "CC-BY-4.0", "terms_url": "https://github.com/github/advisory-database/blob/main/LICENSE.md"}, {"id": "exploitdb", "name": "Exploit-DB", "url": "https://www.exploit-db.com/", "license": "GPL-2.0", "terms_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/LICENSE.md"}, {"id": "metasploit", "name": "Metasploit", "url": "https://github.com/rapid7/metasploit-framework", "license": "BSD-3-Clause", "terms_url": "https://github.com/rapid7/metasploit-framework/blob/master/LICENSE", "notice": "Copyright (c) 2006-2026, Rapid7, Inc.\nLicense: BSD-3-clause\n Redistribution and use in source and binary forms, with or without modification,\n are permitted provided that the following conditions are met:\n .\n * Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n .\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n .\n * Neither the name of Rapid7, Inc. nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n .\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."}, {"id": "nuclei", "name": "Nuclei Templates", "url": "https://github.com/projectdiscovery/nuclei-templates", "license": "MIT", "terms_url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/LICENSE.md", "notice": "MIT License\n\nCopyright (c) 2025 ProjectDiscovery, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."}, {"id": "linux-kernel", "name": "Linux kernel releases", "url": "https://www.kernel.org/", "license": "CC-BY-SA-4.0", "terms_url": "https://www.kernel.org/legal.html", "notice": "Copyright (C) 1997-2014 by The Linux Kernel Organization, Inc."}]}