DEBIAN-CVE-2026-135802

Source
https://security-tracker.debian.org/tracker/CVE-2026-135802
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-135802.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-135802
Upstream
Downstream
Published
2026-11-24T09:17:08Z
Modified
2026-11-28T01:00:06Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

When Request::getBaseUrl() does not find the script name at the start of the request URI, it looks for it further into the path. This supports web servers that rewrite every URL to a front controller in a subdirectory. The base URL then kept everything before the script name, and the client chooses that part. A request URI starting with // or /\ made the base URL start with a host. With SCRIPT_NAME=/public/index.php, a request for //evil.example/public/index.php/login is routed to /login, with the base URL //evil.example/public/index.php and the base path //evil.example/public. The URLs generated for that page then point to evil.example: - links built with path() and the actions of forms, so a login form sends the credentials of the user to evil.example; - redirects to generated URLs, such as the ones of redirectToRoute(); - assets referenced with a relative path through asset(), so the page can load scripts from evil.example. The attacker has to make a user follow a crafted link, such as https://app.example//evil.example/public/index.php/login. framework.trusted_hosts does not help, since the host of the request is the real one. Applications are affected when their front controller is in a subdirectory and the web server sends it URIs that do not start with that directory. A .htaccess file at the root of the project that rewrites every URL to public/ does that, for instance. Applications are also affected when the web server sets SCRIPT_NAME to the path of the request. Some nginx configurations do that when they send every request to the front controller without fastcgi_split_path_info. php -S does it too, with a router script outside the document root. A request for /\evil.example/index.php then gets the base URL /\evil.example/index.php, which browsers read as a link to evil.example. The configurations recommended in the Symfony documentation are not affected. Request::getBaseUrl() now returns an empty base URL when the request URI starts with // or /.

References

Affected packages

Debian:12 / symfony

Package

Name
symfony
Purl
pkg:deb/debian/symfony?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.4.23+dfsg-1
5.4.23+dfsg-1+deb12u1
5.4.23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dfsg-1
8.0.5+dfsg-1
8.0.6+dfsg-1
8.0.7+dfsg-1
8.0.8+dfsg-1
8.0.9+dfsg-1
8.0.10-1
8.0.11+dfsg-1
8.0.12+dfsg-1
8.0.13+dfsg-1
8.1.0+dfsg-1
8.1.1+dfsg-1
8.1.3+dfsg-1
8.1.4+dfsg-1
8.1.5+dfsg-1
8.1.6+dfsg-1
8.1.7+dfsg-1
8.1.8+dfsg-1
8.1.9+dfsg-1
8.1.10+dfsg-1
8.1.11+dfsg-1
8.2.0~beta1+dfsg-1
8.2.0~beta2+dfsg-1
8.2.0~rc1+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-135802.json"

Debian:13 / symfony

Package

Name
symfony
Purl
pkg:deb/debian/symfony?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.4.50+dfsg-0+deb13u1

Affected versions

6.*
6.4.21+dfsg-2
6.4.21+dfsg-2+deb13u1
6.4.24+dfsg-1
6.4.25+dfsg-1
6.4.40+dfsg-0+deb13u1
6.4.41+dfsg-0+deb13u1
6.4.49+dfsg-0+deb13u1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-135802.json"

Debian:14 / symfony

Package

Name
symfony
Purl
pkg:deb/debian/symfony?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7.4.23+dfsg-1

Affected versions

6.*
6.4.21+dfsg-2
6.4.24+dfsg-1
6.4.25+dfsg-1
7.*
7.0.4+dfsg-1
7.0.5+dfsg-1
7.0.6+dfsg-1
7.0.7+dfsg-1
7.1.0~beta1+dfsg-1
7.1.0~rc1+dfsg-1
7.1.2+dfsg-1
7.1.3+dfsg-1
7.1.4+dfsg-1
7.1.5+dfsg-1
7.2.0~beta1+dfsg-1
7.2.0~beta2+dfsg-1
7.2.0~rc1+dfsg-1
7.2.1+dfsg-1
7.2.2+dfsg-1
7.2.3+dfsg-1
7.2.4+dfsg-1
7.2.5+dfsg-1
7.2.6-1
7.3.0~beta1+dfsg-1
7.3.0~beta2+dfsg-1
7.3.0~rc1+dfsg-1
7.3.0+dfsg-1
7.3.1+dfsg-1
7.3.2+dfsg-1
7.3.3+dfsg-1
7.3.4+dfsg-1
7.3.5-1
7.4.0~beta1-1
7.4.0~beta1-2
7.4.0~beta2+dfsg-1
7.4.0~beta2+dfsg-2
7.4.0~beta2+dfsg-3
7.4.0~rc1+dfsg-1
7.4.0~rc2+dfsg-1
7.4.0~rc3+dfsg-1
7.4.0+dfsg-1
7.4.0+dfsg-2
7.4.2+dfsg-1
7.4.2+dfsg-2
7.4.3+dfsg-1
7.4.4+dfsg-1
7.4.5+dfsg-1
7.4.6+dfsg-1
7.4.6+dfsg-2
7.4.7+dfsg-1
7.4.8+dfsg-1
7.4.9+dfsg-1
7.4.10+dfsg-1
7.4.12+dfsg-1
7.4.13+dfsg-1
7.4.13+dfsg-2
7.4.14+dfsg-1
7.4.15+dfsg-1
7.4.15+dfsg-2
7.4.16+dfsg-1
7.4.17+dfsg-1
7.4.18+dfsg-1
7.4.19+dfsg-1
7.4.20+dfsg-1
7.4.21+dfsg-1
7.4.21+dfsg-2
7.4.22+dfsg-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-135802.json"