Every CVE Search/ Get API key

CVE-2018-14774

Symfony Host Header Injection

7.2 HighFix available

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

1.11%Up 0.5 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
symfony/symfony
Packagist
2.7.0 to 2.7.48
2.7.49
symfony/symfony
Packagist
2.8.0 to 2.8.43
2.8.44
symfony/symfony
Packagist
3.3.0 to 3.3.17
3.3.18
symfony/symfony
Packagist
3.4.0 to 3.4.13
3.4.14
symfony/symfony
Packagist
4.0.0 to 4.0.13
4.0.14
symfony/symfony
Packagist
4.1.0 to 4.1.2
4.1.3
symfony
Debian:12
before 3.4.14+dfsg-1
3.4.14+dfsg-1
symfony
Debian:13
before 3.4.14+dfsg-1
3.4.14+dfsg-1
symfony
Debian:14
before 3.4.14+dfsg-1
3.4.14+dfsg-1
symfony/symfony
Packagist
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 less
v2.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
Affected packages
PackageAffectedFixed
symfony/symfony
Packagist
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 less
v2.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/symfony
Packagist
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 less
v3.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/symfony
Packagist
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 less
v3.4.13v3.4.2v3.4.3v3.4.4v3.4.5v3.4.6v3.4.7v3.4.8v3.4.9
3.4.14
symfony/symfony
Packagist
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 less
v4.0.13v4.0.2v4.0.3v4.0.4v4.0.5v4.0.6v4.0.7v4.0.8v4.0.9
4.0.14
symfony/symfony
Packagist
4.1.0 up to 4.1.3, plus listed versions
v4.1.0v4.1.1v4.1.2
4.1.3
symfony
Ubuntu: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
symfony
Ubuntu: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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 7 moreShow less
MoveEnter Open