{"schemaVersion":3,"id":"CVE-2026-62993","aliases":["UBUNTU-CVE-2026-62993","DEBIAN-CVE-2026-62993"],"status":"published","duplicateOf":null,"title":null,"description":"Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 4.5.7 and 5.8.2, depending on the release line, Smarty's {fetch} handling in libs/plugins/function.fetch.php and src/FunctionHandler/Fetch.php used Security::isTrustedUri() to validate only the initial remote URL against trusted_uri when a security policy was active. For resources handled by file_get_contents(), including HTTPS URLs, PHP followed HTTP redirects by default. An attacker who could supply or influence a fetch target and had an open redirect on a trusted host could redirect the request to an attacker-chosen internal endpoint, bypass the trusted_uri allowlist, and perform server-side request forgery. This issue is fixed in versions 4.5.7 and 5.8.2.","dates":{"published":"2026-08-31T20:58:03.616Z","modified":"2026-09-02T17:36:30.257Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00574,"percentile":0.46348,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.15400000000000005,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0042},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00574,"percentile":0.46348}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0042,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00574,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00574,"percentile":0.46348}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-918","name":"Server-Side Request Forgery (SSRF)","description":"The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/918.html"}],"affected":[{"vendor":"debian","product":"smarty3","name":"smarty3","label":"smarty3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/smarty3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"smarty4","name":"smarty4","label":"smarty4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/smarty4","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"smarty3","name":"smarty3","label":"smarty3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/smarty3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"smarty4","name":"smarty4","label":"smarty4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/smarty4","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"smarty-php","product":"smarty","name":"smarty","label":"smarty","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0, < 5.8.2","noFixRecorded":false,"fixedIn":null},{"text":"< 4.5.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.8.2 | < 4.5.7","eol":null,"hubHref":"/vendor/smarty-php/smarty"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/smarty-php/smarty/security/advisories/GHSA-cq55-c7wv-pxmq","label":"github.com/smarty-php/smarty/security/advisories/GHSA-cq55-c7wv-pxmq","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/smarty-php/smarty/pull/1194","label":"github.com/smarty-php/smarty/pull/1194","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/smarty-php/smarty/commit/31e06fc087a8b5a9b236c1e5dacc1c2850a2c115","label":"github.com/smarty-php/smarty/commit/31e06fc087a8b5a9b236c1e5dacc1c2850a2c115","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90","label":"github.com/smarty-php/smarty/commit/a1ccdb0518021a559b4066c37b76a42c86bbce90","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v4.5.7","label":"github.com/smarty-php/smarty/releases/tag/v4.5.7","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/smarty-php/smarty/releases/tag/v5.8.2","label":"github.com/smarty-php/smarty/releases/tag/v5.8.2","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-62993","label":"ubuntu.com/security/CVE-2026-62993","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-62993","label":"www.cve.org/CVERecord?id=CVE-2026-62993","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-62993","label":"security-tracker.debian.org/tracker/CVE-2026-62993","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-31T20:58:03.616Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-02T17:36:30.257Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:23:18.494Z","stale":false,"partial":false}}