Skip to content
On CISA KEVHigh

CVE-2017-16894Laravel Information Disclosure

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 · Updated Oct 24, 2026

Key Facts

Patch immediately
  • CVE-2017-16894 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Laravel, laravel/framework (tuxcare), php-laravel-framework (debian).
  • It is exploited in the wild, listed in Industry KEV feed since Apr 29, 2025. Public exploit code is available.
  • EPSS estimates a 87% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Laravel 5.5.21, laravel/framework 5.4.36-p2+tuxcare, php-laravel-framework 0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

7.5

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

EPSS (30-day exploit likelihood)

87%

Higher than 99.8% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

72/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Apr 29, 2025

2717 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

3

Reports of active use

Advisories And Exploit References

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedApr 29, 2025n/aNot reported

Affected Products

7 affected entries in total
ProductAffected versionsFixed in
LaravelLaravelSee advisory5.5.21
laravel/frameworktuxcare>= 5.4.365.4.36-p2+tuxcare
php-laravel-frameworkdebianSee advisory0

Patched Releases

Laravel

5.5.21

laravel/framework

5.4.36-p2+tuxcare

Timeline

  1. Publicly disclosed

    Nov 20, 2017

  2. Added to Industry KEV feed

    Apr 29, 2025

  3. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2017-16894 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.