Skip to main content

CVE-2017-16894

7.5
HIGHCVSS v3.1 Base Score
88.79%
HIGH RiskEPSS (100th percentile)

In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwords) via a direct request for the /.env URI. NOTE: this CVE is only about Laravel framework's writeNewEnvironmentFileWith function in src/Illuminate/Foundation/Console/KeyGenerateCommand.php, which uses file_put_contents without restricting the .env permissions. The .env filename is not used exclusively by Laravel framework.

Published: 11/20/2017
Modified: 4/20/2025
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

7.5HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Score (Exploitation Probability)

88.79%HIGH Exploitation Risk
100th percentile

This vulnerability has a 88.79% probability of being exploited in the next 30 days, ranking higher than 100% of all scored CVEs.

Related Vulnerabilities