Smarty: SSRF via redirect bypass of trusted_uri using {fetch} — GHSA-CQ55-C7WV-PXMQ
GitHub · GitHub · GHSA-CQ55-C7WV-PXMQ
ID
GHSA-CQ55-C7WV-PXMQ
GHSA-CQ55-C7WV-PXMQ
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
CVSS
6.9
6.9
Summary
When a Security policy is active, {fetch} validates the requested remote URL against the trusted_uri allowlist via Security::isTrustedUri(). For non-http:// schemes (e.g. https://) the resource was then read with file_get_contents(), which follows HTTP redirects by default. Because isTrustedUri() only validates the initial URL, an open redirect on an otherwise-trusted host could be used to redirect the request to a…
Timeline
- Published by source
- 2026-09-01
Risk context
- Reported severity or threat level: medium.
- Reported CVSS score: 6.9 out of 10.
- Review exposure for the affected product or family: composer: smarty/smarty.
Product
composer: smarty/smarty
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-CQ55-C7WV-PXMQ
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-01
- Last source activity
- 2026-09-01
- Additional identifiers
- CVE-2026-62993
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.