Plack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code execution

Summary

CVECVE-2014-125112
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-26 03:16:00 UTC
Updated2026-05-06 14:50:24 UTC
DescriptionPlack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code execution. Plack::Middleware::Session::Cookie versions through 0.21 has a security vulnerability where it allows an attacker to execute arbitrary code on the server during deserialization of the cookie data, when there is no secret used to sign the cookie.

Risk And Classification

Primary CVSS: v3.1 9.8 CRITICAL from ADP

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

Problem Types: CWE-565 | CWE-565 CWE-565 Reliance on Cookies without Validation and Integrity Checking


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Miyagawa Plack \ middleware\ \ session\

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA MIYAGAWA PlackMiddlewareSessionCookie affected 0.21 custom Not specified

References

ReferenceSourceLinkTags
www.openwall.com/lists/oss-security/2026/03/26/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
gist.github.com/miyagawa/2b8764af908a0dacd43d 9b29abf9-4ab0-4765-b253-1875cd9b441e gist.github.com Third Party Advisory
metacpan.org/release/MIYAGAWA/Plack-Middleware-Session-0.23-TRIAL/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org Release Notes
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: mala (@bulkneets) (en)

Additional Advisory Data

SourceTimeEvent
CNA2014-08-11T00:00:00.000ZVulnerability disclosed by MIYAGAWA.
CNA2014-08-11T00:00:00.000ZVersion 0.22 released that warns when the "secret" option is not set.
CNA2014-08-11T00:00:00.000ZVersion 0.23-TRIAL released that requires the "secret" option to be set.
CNA2014-09-05T00:00:00.000ZVersion 0.24 released. Same as 0.23 but not a trial release.
CNA2016-02-03T00:00:00.000ZVersion 0.26 released. Documentation improved with SYNOPSIS giving an example of how to set the "secret" option.
CNA2019-01-26T00:00:00.000ZCPANSA-Plack-Middleware-Session-Cookie-2014-01 assigned in CPAN::Audit::DB
CNA2019-03-09T00:00:00.000ZCPANSA-Plack-Middleware-Session-2014-01 reassigned in CPAN::Audit::DB
CNA2025-07-08T00:00:00.000ZCVE-2014-125112 assigned by CPANSec.

Solutions

CNA: Upgrade Plack::Middleware::Session to version 0.23 or later (ideally version 0.36 or later), and set the "secret" option.

Workarounds

CNA: Set the "secret" option.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report