--- title: "CVE-2017-16894: In Laravel framework through 5.5.21… | CubePath" description: "In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwords) via a direct request…" language: en source: https://cubepath.com/security/cve/CVE-2017-16894 --- # CVE-2017-16894: In Laravel framework through 5.5.21… | CubePath ## Description 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2017-16894) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.86916 (86.9% probability) Percentile 99.7% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [twitter.com/finnwea/status/967709791442341888](https://twitter.com/finnwea/status/967709791442341888) - [whiteboyz.xyz/laravel-env-file-vuln.html](http://whiteboyz.xyz/laravel-env-file-vuln.html) - [packetstormsecurity.com/files/153641/PHP-Laravel-Framework-…](http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html) ## Timeline 1. ID reserved Nov 19, 2017 2. Record published Nov 20, 2017 3. Record last updated Aug 5, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:59 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)