> CVE-2026-48805 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-14 22:17
MODIFIED
2026-07-14 22:17
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.48%
Top 59.3%
DATA SOURCES:
NVD 🔗 2026-07-14 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-29 OSV 🔗 2026-07-19

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-693

> CWE DETAILED DESCRIPTIONS

CWE-693: Protection Mechanism Failure - The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

> GITHUB SECURITY ADVISORY

GHSA-p42q-9prx-q5wq LOW

Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`

AFFECTED PACKAGES:
COMPOSER / twig/twig
<= 3.26.0
Fixed in: 3.27.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`

AFFECTED PACKAGES:
Unknown / Unknown
154 versions affected
ALIASES:
GHSA-p42q-9prx-q5wq

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/07/2026 22:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-693: Protection Mechanism Failure - The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/twigphp/Twig/commit/e235cae3a1d1e23edc24df4d675f18108c6b167b
https://github.com/twigphp/Twig/releases/tag/v3.27.0
https://github.com/twigphp/Twig/security/advisories/GHSA-p42q-9prx-q5wq
« BACK_TO_HOME