{"api_version":"1","generated_at":"2026-04-23T10:43:11+00:00","cve":"CVE-2021-26119","urls":{"html":"https://cve.report/CVE-2021-26119","api":"https://cve.report/api/cve/CVE-2021-26119.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-26119","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-26119"},"summary":{"title":"CVE-2021-26119","description":"Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-02-22 02:15:00","updated_at":"2022-10-14 12:21:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","name":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"smarty/CHANGELOG.md at master · smarty-php/smarty · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html","name":"[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2618-2] smarty3 regression update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html","name":"[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2618-1] smarty3 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202105-06","name":"GLSA-202105-06","refsource":"GENTOO","tags":[],"title":"Smarty: Multiple vulnerabilities (GLSA 202105-06) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5151","name":"DSA-5151","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5151-1 smarty3","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-26119","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26119","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"26119","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"26119","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"26119","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"26119","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"26119","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-26119","qid":"178513","title":"Debian Security Update for smarty3 (DLA 2618-1)"},{"cve":"CVE-2021-26119","qid":"178545","title":"Debian Security Update for smarty3 (DLA 2618-2)"},{"cve":"CVE-2021-26119","qid":"179330","title":"Debian Security Update for smarty3 (DSA 5151-1)"},{"cve":"CVE-2021-26119","qid":"179943","title":"Debian Security Update for smarty3 (CVE-2021-26119)"},{"cve":"CVE-2021-26119","qid":"198715","title":"Ubuntu Security Notification for Smarty Vulnerabilities (USN-5348-1)"},{"cve":"CVE-2021-26119","qid":"283228","title":"Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-52154efd61)"},{"cve":"CVE-2021-26119","qid":"283474","title":"Fedora Security Update for Hypertext Preprocessor (PHP) (FEDORA-2022-d5fc9dcdd7)"},{"cve":"CVE-2021-26119","qid":"690018","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for bacula-web (f05dbd1f-2599-11ec-91be-001b217b3468)"},{"cve":"CVE-2021-26119","qid":"710109","title":"Gentoo Linux Smarty Multiple vulnerabilities (GLSA 202105-06)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-26119","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md","refsource":"MISC","name":"https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210405 [SECURITY] [DLA 2618-1] smarty3 security update","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00004.html"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210416 [SECURITY] [DLA 2618-2] smarty3 regression update","url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00014.html"},{"refsource":"GENTOO","name":"GLSA-202105-06","url":"https://security.gentoo.org/glsa/202105-06"},{"refsource":"DEBIAN","name":"DSA-5151","url":"https://www.debian.org/security/2022/dsa-5151"}]}},"nvd":{"publishedDate":"2021-02-22 02:15:00","lastModifiedDate":"2022-10-14 12:21:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.39","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"26119","Ordinal":"201064","Title":"CVE-2021-26119","CVE":"CVE-2021-26119","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"26119","Ordinal":"1","NoteData":"Smarty before 3.1.39 allows a Sandbox Escape because $smarty.template_object can be accessed in sandbox mode.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"26119","Ordinal":"2","NoteData":"2021-02-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"26119","Ordinal":"3","NoteData":"2021-05-26","Type":"Other","Title":"Modified"}]}}}