CVE-2026-64615: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::Graph::Shared
Data::Graph::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in graph.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable). O_NOFOLLOW is absent, so a symlink planted at the path is followed, and O_EXCL is absent, so the open silently uses a pre-planted file instead of failing. A "Shared" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted file or symlink at the path lets a local attacker win a pre-creation race or redirect the open.
AI Analysis
Technical Summary
The vulnerability in Data::Graph::Shared (versions <0.04) arises from the creation of a mmap backing file with overly permissive file mode (0666) and the lack of O_NOFOLLOW and O_EXCL flags during file open operations. This leads to a world-readable file that can be accessed by any local user. Additionally, the absence of O_NOFOLLOW allows symlink following, and the absence of O_EXCL permits silent use of pre-existing files, enabling local attackers to perform pre-creation race attacks or redirect file opens to attacker-controlled files. This insecure permission assignment and unsafe file handling violate secure IPC practices and expose sensitive IPC payloads to unauthorized local users.
Potential Impact
Local users on the system can read the memory-mapped IPC payloads stored in the world-readable backing file. They can also exploit the lack of O_NOFOLLOW and O_EXCL to redirect file opens via symlinks or pre-created files, potentially leading to unauthorized data disclosure or manipulation of IPC resources. This compromises the confidentiality and integrity of inter-process communication data managed by Data::Graph::Shared.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid running Data::Graph::Shared versions prior to 0.04 in multi-user environments or restrict access to shared directories like /tmp or /dev/shm. Applying stricter filesystem permissions and monitoring for suspicious symlinks may reduce risk but do not fully mitigate the vulnerability.
CVE-2026-64615: CWE-732 Incorrect Permission Assignment for Critical Resource in EGOR Data::Graph::Shared
Description
Data::Graph::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW. The segment is created in graph.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable). O_NOFOLLOW is absent, so a symlink planted at the path is followed, and O_EXCL is absent, so the open silently uses a pre-planted file instead of failing. A "Shared" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted file or symlink at the path lets a local attacker win a pre-creation race or redirect the open.
Affected software
Run 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::Graph::Shared (versions <0.04) arises from the creation of a mmap backing file with overly permissive file mode (0666) and the lack of O_NOFOLLOW and O_EXCL flags during file open operations. This leads to a world-readable file that can be accessed by any local user. Additionally, the absence of O_NOFOLLOW allows symlink following, and the absence of O_EXCL permits silent use of pre-existing files, enabling local attackers to perform pre-creation race attacks or redirect file opens to attacker-controlled files. This insecure permission assignment and unsafe file handling violate secure IPC practices and expose sensitive IPC payloads to unauthorized local users.
Potential Impact
Local users on the system can read the memory-mapped IPC payloads stored in the world-readable backing file. They can also exploit the lack of O_NOFOLLOW and O_EXCL to redirect file opens via symlinks or pre-created files, potentially leading to unauthorized data disclosure or manipulation of IPC resources. This compromises the confidentiality and integrity of inter-process communication data managed by Data::Graph::Shared.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid running Data::Graph::Shared versions prior to 0.04 in multi-user environments or restrict access to shared directories like /tmp or /dev/shm. Applying stricter filesystem permissions and monitoring for suspicious symlinks may reduce risk but do not fully mitigate the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-07-20T11:30:10.287Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fcbb72a4a8d5989ac739c
Added to database: 07/21/2026, 19:42:47 UTC
Last enriched: 07/21/2026, 19:52:52 UTC
Last updated: 07/21/2026, 21:09:25 UTC
Views: 3
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.