Description
Plack::Middleware::ETag versions from 0.04 before 0.06 for Perl disclose file inode numbers in the default ETag header.

When the response body is a filehandle and the file_etag option is not set, the ETag is built from the file's inode number, modification time and size. Clients receiving affected responses may use the disclosed inode numbers to aid backend fingerprinting and correlation of files served through different URLs.
Published: 2026-10-19
Score: n/a
EPSS: n/a
KEV: No
Impact: Information disclosure: file inode numbers
Action: Patch immediately
AI Analysis

Impact

Plack::Middleware::ETag versions 0.04 through the versions that precede 0.06 contain a flaw that causes the default ETag header to include the file's inode number, modification time, and size when the response body is a filehandle and the file_etag option is not set. This accidental disclosure leaks a unique identifier for each file that can be used by clients or attackers to correlate files served under different URLs or to fingerprint the underlying filesystem. Although the vulnerability does not allow direct code execution or modify data, it exposes potentially sensitive internal information that could aid in further attacks.

Affected Systems

Systems running the Plack::Middleware::ETag Perl module with an installed version 0.04 or any release prior to 0.06 are affected. The vulnerability resides in the default ETag construction logic when the file_etag configuration is unset or set to include 'inode'. Any Perl application that employs the middleware in this configuration is susceptible, regardless of the surrounding web framework or deployment environment.

Risk and Exploitability

The flaw is a low-effort information‑leak risk; an attacker only needs to provoke the middleware to generate an ETag, which occurs on ordinary file responses. No authentication or privileged access is required beyond the ability to send HTTP requests to the application. Because the EPSS score is unavailable and the vulnerability is not listed in CISA’s KEV catalog, the exact exploit probability is unknown, but the potential impact on confidentiality and correlation capabilities warrants prompt remediation.

Generated by OpenCVE AI on October 20, 2026 at 00:24 UTC.

Remediation

Vendor Solution

Upgrade to Plack-Middleware-ETag 0.06 or later. Where the file_etag option is set, remove the use of "inode".


Vendor Workaround

For deployments that cannot upgrade to 0.06, where the file_etag option is set, remove the use of "inode". If the file_etag option is not specified, change it to ["mtime", "size"].


OpenCVE Recommended Actions

  • Upgrade Plack::Middleware::ETag to version 0.06 or later.
  • If the file_etag option cannot be removed, modify its value to exclude 'inode', e.g., set file_etag to ['mtime', 'size'].
  • For deployments that cannot upgrade but need to retain file_etag, remove 'inode' from the existing file_etag configuration.

Generated by OpenCVE AI on October 20, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description Plack::Middleware::ETag versions from 0.04 before 0.06 for Perl disclose file inode numbers in the default ETag header. When the response body is a filehandle and the file_etag option is not set, the ETag is built from the file's inode number, modification time and size. Clients receiving affected responses may use the disclosed inode numbers to aid backend fingerprinting and correlation of files served through different URLs.
Title Plack::Middleware::ETag versions from 0.04 before 0.06 for Perl disclose file inode numbers in the default ETag header
Weaknesses CWE-497
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-19T20:54:56.964Z

Reserved: 2026-10-17T14:22:00.942Z

Link: CVE-2026-111946

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-19T21:17:06.093

Modified: 2026-10-19T21:17:06.093

Link: CVE-2026-111946

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T00:30:07Z

Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere