CVE-2026-65061: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::ReqRep::Shared
Data::ReqRep::Shared versions before 0.05 for Perl create a world-readable memory-mapped backing file with insecure permissions and open flags. The file is created with mode 0666 (resulting in 0644 after umask), making it world-readable. The open call lacks O_EXCL and O_NOFOLLOW flags, allowing symlink following and pre-creation race conditions. This can lead to local users reading IPC payloads or redirecting the open to attacker-controlled files in shared directories like /tmp or /dev/shm.
AI Analysis
Technical Summary
The vulnerability in Data::ReqRep::Shared (versions <0.05) arises from incorrect permission assignment and insecure file opening of the mmap backing file used for IPC. The file is created with mode 0666, which under default umask results in world-readable permissions (0644). The open call does not use O_EXCL, allowing an attacker to pre-create a file and cause the open to succeed on the attacker's file instead of failing. The absence of O_NOFOLLOW allows following symlinks, enabling redirection of the open to arbitrary files. Since the shared segment resides in directories accessible to local users (e.g., /tmp or /dev/shm), this can expose IPC payloads to unauthorized local users and enable local pre-creation race or symlink attacks.
Potential Impact
Local attackers can read inter-process communication payloads stored in the world-readable shared segment. They can also exploit the lack of O_EXCL and O_NOFOLLOW to pre-create files or symlinks, redirecting the open call to attacker-controlled files. This leads to information disclosure of IPC data. There is no indication of integrity or availability impact. The CVSS score is 3.8 (low severity) reflecting limited impact and local attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running Data::ReqRep::Shared in environments where untrusted local users have access to the shared directories used for the mmap files. Restrict permissions on the directories and files involved to trusted users only. Monitor vendor channels for official patches or updates addressing the use of O_EXCL and O_NOFOLLOW flags and file permission hardening.
CVE-2026-65061: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::ReqRep::Shared
Description
Data::ReqRep::Shared versions before 0.05 for Perl create a world-readable memory-mapped backing file with insecure permissions and open flags. The file is created with mode 0666 (resulting in 0644 after umask), making it world-readable. The open call lacks O_EXCL and O_NOFOLLOW flags, allowing symlink following and pre-creation race conditions. This can lead to local users reading IPC payloads or redirecting the open to attacker-controlled files in shared directories like /tmp or /dev/shm.
CVSS v3.1
Score 3.8low
Affected software
pkg:github/Data-ReqRep-SharedRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Data::ReqRep::Shared (versions <0.05) arises from incorrect permission assignment and insecure file opening of the mmap backing file used for IPC. The file is created with mode 0666, which under default umask results in world-readable permissions (0644). The open call does not use O_EXCL, allowing an attacker to pre-create a file and cause the open to succeed on the attacker's file instead of failing. The absence of O_NOFOLLOW allows following symlinks, enabling redirection of the open to arbitrary files. Since the shared segment resides in directories accessible to local users (e.g., /tmp or /dev/shm), this can expose IPC payloads to unauthorized local users and enable local pre-creation race or symlink attacks.
Potential Impact
Local attackers can read inter-process communication payloads stored in the world-readable shared segment. They can also exploit the lack of O_EXCL and O_NOFOLLOW to pre-create files or symlinks, redirecting the open call to attacker-controlled files. This leads to information disclosure of IPC data. There is no indication of integrity or availability impact. The CVSS score is 3.8 (low severity) reflecting limited impact and local attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid running Data::ReqRep::Shared in environments where untrusted local users have access to the shared directories used for the mmap files. Restrict permissions on the directories and files involved to trusted users only. Monitor vendor channels for official patches or updates addressing the use of O_EXCL and O_NOFOLLOW flags and file permission hardening.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-21T15:29:37.116Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fcbb72a4a8d5989ac73a8
Added to database: 07/21/2026, 19:42:47 UTC
Last enriched: 07/30/2026, 05:29:08 UTC
Last updated: 09/04/2026, 22:52:14 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.