Live threats

All CVEs / Slimframework

CVE-2015-2171Slimframework Slim

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.5%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Mar 30, 2015
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

Middleware/SessionCookie.php in Slim before 2.6.0 allows remote attackers to conduct PHP object injection attacks and execute arbitrary PHP code via crafted session data.

Original NVD text.

What to do

  1. Apply the vendor's security update for Slim.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist slim/slim < 2.6.0 2.6.0 composer require "slim/slim:^2.6.0"

Per OSV / GitHub Advisories (GHSA-74mf-vjpg-9xh7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
slimframeworkslim≤ 2.5.0

Official sources

References

Links published by the sources. Open them with care.