Bug 2500869 - CVE-2026-46633 phpMyAdmin: Twig: Arbitrary code execution via crafted template name [fedora-all]
Summary: CVE-2026-46633 phpMyAdmin: Twig: Arbitrary code execution via crafted templat...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: phpMyAdmin
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d676bb97-901f-44b5-ba10-1...
Depends On:
Blocks: CVE-2026-46633
TreeView+ depends on / blocked
 
Reported: 2026-07-15 11:41 UTC by Marian Rehak
Modified: 2026-08-17 15:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-15 11:41:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:20:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.