CVE-2018-14774
Symfony Host Header Injection
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.2
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
CVE-2018-14774- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
CVE-2018-14774- Updated
- 2026-11-02
EUVDEUVD-2022-2728 No score
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
EUVD-2022-2728- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-66p6-7p29-55p9
7.2
Symfony Host Header Injection
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
GHSA-66p6-7p29-55p9- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.2
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
CVE-2018-14774- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-14774
7.2
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
DEBIAN-CVE-2018-14774- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-66p6-7p29-55p9
7.2
Symfony Host Header Injection
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
GHSA-66p6-7p29-55p9- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-14774
7.2
An issue was discovered in HttpKernel in Symfony 2.7.0 through 2.7.48, 2.8.0 through 2.8.43, 3.3.0 through 3.3.17, 3.4.0 through 3.4.13, 4.0.0 through 4.0.13, and 4.1.0 through 4.1.2. When using HttpCache, the values of the X-Forwarded-Host headers are implicitly set as trusted while this should be forbidden, leading to potential host header injection.
- Record
UBUNTU-CVE-2018-14774- CVSS 3.0
- 7.2 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
symfony/symfonyPackagist |
2.7.0 to 2.7.48 | 2.7.49 |
symfony/symfonyPackagist |
2.8.0 to 2.8.43 | 2.8.44 |
symfony/symfonyPackagist |
3.3.0 to 3.3.17 | 3.3.18 |
symfony/symfonyPackagist |
3.4.0 to 3.4.13 | 3.4.14 |
symfony/symfonyPackagist |
4.0.0 to 4.0.13 | 4.0.14 |
symfony/symfonyPackagist |
4.1.0 to 4.1.2 | 4.1.3 |
symfonyDebian:12 |
before 3.4.14+dfsg-1 | 3.4.14+dfsg-1 |
symfonyDebian:13 |
before 3.4.14+dfsg-1 | 3.4.14+dfsg-1 |
symfonyDebian:14 |
before 3.4.14+dfsg-1 | 3.4.14+dfsg-1 |
symfony/symfonyPackagist |
2.7.0 up to 2.7.49, plus listed versions v2.7.0v2.7.1v2.7.10v2.7.11v2.7.12 Show 44 moreShow lessv2.7.13v2.7.14v2.7.15v2.7.16v2.7.17v2.7.18v2.7.19v2.7.2v2.7.20v2.7.21v2.7.22v2.7.23v2.7.24v2.7.25v2.7.26v2.7.27v2.7.28v2.7.29v2.7.3v2.7.30v2.7.31v2.7.32v2.7.33v2.7.34v2.7.35v2.7.36v2.7.37v2.7.38v2.7.39v2.7.4v2.7.40v2.7.41v2.7.42v2.7.43v2.7.44v2.7.45v2.7.46v2.7.47v2.7.48v2.7.5v2.7.6v2.7.7v2.7.8v2.7.9 |
2.7.49 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
symfony/symfonyPackagist |
2.8.0 up to 2.8.44, plus listed versions v2.8.0v2.8.1v2.8.10v2.8.11v2.8.12 Show 39 moreShow lessv2.8.13v2.8.14v2.8.15v2.8.16v2.8.17v2.8.18v2.8.19v2.8.2v2.8.20v2.8.21v2.8.22v2.8.23v2.8.24v2.8.25v2.8.26v2.8.27v2.8.28v2.8.29v2.8.3v2.8.30v2.8.31v2.8.32v2.8.33v2.8.34v2.8.35v2.8.36v2.8.37v2.8.38v2.8.39v2.8.4v2.8.40v2.8.41v2.8.42v2.8.43v2.8.5v2.8.6v2.8.7v2.8.8v2.8.9 |
2.8.44 |
symfony/symfonyPackagist |
3.3.0 up to 3.3.18, plus listed versions v3.3.0v3.3.1v3.3.10v3.3.11v3.3.12 Show 13 moreShow lessv3.3.13v3.3.14v3.3.15v3.3.16v3.3.17v3.3.2v3.3.3v3.3.4v3.3.5v3.3.6v3.3.7v3.3.8v3.3.9 |
3.3.18 |
symfony/symfonyPackagist |
3.4.0 up to 3.4.14, plus listed versions v3.4.0v3.4.1v3.4.10v3.4.11v3.4.12 Show 9 moreShow lessv3.4.13v3.4.2v3.4.3v3.4.4v3.4.5v3.4.6v3.4.7v3.4.8v3.4.9 |
3.4.14 |
symfony/symfonyPackagist |
4.0.0 up to 4.0.14, plus listed versions v4.0.0v4.0.1v4.0.10v4.0.11v4.0.12 Show 9 moreShow lessv4.0.13v4.0.2v4.0.3v4.0.4v4.0.5v4.0.6v4.0.7v4.0.8v4.0.9 |
4.0.14 |
symfony/symfonyPackagist |
4.1.0 up to 4.1.3, plus listed versions v4.1.0v4.1.1v4.1.2 |
4.1.3 |
symfonyUbuntu:16.04:LTS |
All versions, plus listed versions 2.7.1+dfsg-12.7.5+dfsg-12.7.9+dfsg-12.7.9+dfsg-1ubuntu22.7.10-0ubuntu2 |
None known |
symfonyUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 2.8.7+dfsg-1.3ubuntu13.4.3+dfsg-1ubuntu43.4.6+dfsg-13.4.6+dfsg-1ubuntu0.13.4.6+dfsg-1ubuntu0.1+esm13.4.6+dfsg-1ubuntu0.1+esm2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-14774 is a high vulnerability (CVSS 7.2) in Sensiolabs Symfony, published August 3, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.11%, the 66th percentile. Fixed in symfony/symfony 2.7.49.
References
github.com/symfony/symfony/commit/725dee4cd8b4ccd52e335ae4b4522242cea9bd4a
symfony.com/blog/cve-2018-14774-possible-host-header-injection-when-using-httpcache
nvd.nist.gov/vuln/detail/CVE-2018-14774
github.com/symfony/symfony/commit/7f912bbb78377c2ea331b3da28363435fbd91337
github.com/symfony/symfony/commit/96504fb8c9f91204727d2930eb837473ce154956
github.com/symfony/symfony/commit/974240e178bb01d734bf1df1ad5c3beba6a2f982
Show 7 moreShow less
github.com/symfony/symfony/commit/9cfcaba0bf71f87683510b5f47ebaac5f5d6a5ba
github.com/symfony/symfony/commit/bcf5897bb1a99d4acae8bf7b73e81bfdeaac0922
github.com/symfony/symfony
github.com/advisories/GHSA-66p6-7p29-55p9
security-tracker.debian.org/tracker/CVE-2018-14774
ubuntu.com/security/CVE-2018-14774
cve.org/CVERecord?id=CVE-2018-14774