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
Published Nov 20, 2017
7.5
HIGHCVSS 3.0
EPSS 86.92%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (34 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 86.92% (0.86916) | 99.74th | v5 (v2026.06.15) |
| Sep 22, 2026 | 86.92% (0.86916) | 99.74th | v5 (v2026.06.15) |
| Sep 21, 2026 | 83.42% (0.83416) | 99.67th | v5 (v2026.06.15) |
| Sep 20, 2026 | 86.92% (0.86916) | 99.74th | v5 (v2026.06.15) |
| Sep 6, 2026 | 87.03% (0.87030) | 99.73th | v5 (v2026.06.15) |
| Sep 5, 2026 | 83.54% (0.83538) | 99.67th | v5 (v2026.06.15) |
| Aug 30, 2026 | 87.03% (0.87030) | 99.73th | v5 (v2026.06.15) |
| Aug 28, 2026 | 83.54% (0.83538) | 99.67th | v5 (v2026.06.15) |
| Aug 24, 2026 | 87.03% (0.87030) | 99.73th | v5 (v2026.06.15) |
| Aug 23, 2026 | 83.54% (0.83538) | 99.67th | v5 (v2026.06.15) |
| Jun 15, 2026 | 87.03% (0.87030) | 99.72th | v5 (v2026.06.15) |
| Sep 25, 2025 | 88.79% (0.88787) | 99.50th | v4 (v2025.03.14) |
| Apr 27, 2025 | 86.10% (0.86103) | 99.33th | v4 (v2025.03.14) |
| Mar 25, 2025 | 88.39% (0.88385) | 99.49th | v4 (v2025.03.14) |
| Mar 23, 2025 | 87.28% (0.87285) | 99.41th | v4 (v2025.03.14) |
| Mar 20, 2025 | 82.56% (0.82555) | 99.22th | v4 (v2025.03.14) |
| Mar 19, 2025 | 85.87% (0.85867) | 99.35th | v4 (v2025.03.14) |
| Mar 18, 2025 | 87.28% (0.87285) | 99.42th | v4 (v2025.03.14) |
| Mar 17, 2025 | 88.39% (0.88385) | 99.47th | v4 (v2025.03.14) |
| Feb 10, 2025 | 13.75% (0.13750) | 95.68th | v3 (v2023.03.01) |
| Dec 17, 2024 | 5.15% (0.05145) | 92.85th | v3 (v2023.03.01) |
| Dec 2, 2024 | 7.44% (0.07441) | 94.35th | v3 (v2023.03.01) |
| Oct 23, 2024 | 6.22% (0.06220) | 93.77th | v3 (v2023.03.01) |
| Nov 10, 2023 | 11.61% (0.11608) | 94.71th | v3 (v2023.03.01) |
| May 8, 2023 | 29.15% (0.29151) | 96.22th | v3 (v2023.03.01) |
| Apr 17, 2023 | 31.07% (0.31072) | 96.33th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.05% (0.01047) | 81.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.49% (0.12492) | 95.36th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.49% (0.12492) | 95.00th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.49% (0.12492) | 89.83th | v2 (v2022.01.01) |
| Feb 3, 2022 | 25.94% (0.25943) | 95.65th | v1 |
| Jan 6, 2022 | 25.94% (0.25943) | 95.59th | v1 |
| Sep 1, 2021 | 25.94% (0.25943) | 98.30th | v1 |
| Apr 14, 2021 | 25.94% (0.25943) | 0.00th | v1 |
References (3)
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html x_refsource_MISC
- http://whiteboyz.xyz/laravel-env-file-vuln.html x_refsource_MISCThird Party AdvisoryURL Repurposed
- https://twitter.com/finnwea/status/967709791442341888 x_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html | x_refsource_MISC | |
| http://whiteboyz.xyz/laravel-env-file-vuln.html | x_refsource_MISCThird Party AdvisoryURL Repurposed | |
| https://twitter.com/finnwea/status/967709791442341888 | x_refsource_MISC |
Change history (0)
No recorded changes yet.