☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
CPANSec logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 3.8 🐛 CWE-59
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-65061

CVE-2026-65061 Privilege Escalation in Data::ReqRep::Shared
📅 PUBLISHED: 2026-07-21 20:17 UTC 🔄 UPDATED: 2026-09-23 20:36 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.14%
👁️
0.14% probability
3.5× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1083
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
License: Open Source
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
3.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

Severity: Informational (CVSS 3.1 Base Score: 0.0)

This report details CVE-2026-65061, a local privilege escalation and information disclosure vulnerability in the Perl module Data::ReqRep::Shared versions prior to 0.05. The vulnerability arises from insecure creation of shared memory backing files, specifically the use of a world-readable file mode (0666) and the absence of O_EXCL and O_NOFOLLOW flags during file open operations.

Business Impact: This vulnerability primarily affects multi-tenant environments, shared hosting platforms, and any system where untrusted local users have shell access. The likely attacker is a local unprivileged user seeking to read inter-process communication (IPC) payloads from other processes or to perform a symlink-based pre-creation race to corrupt shared memory segments. Industries at risk include cloud service providers, academic institutions, and enterprise environments with shared compute resources.

Vulnerability Class & Attack Vector: The vulnerability is a local attack vector. It requires an attacker to have a user account on the target system. The attack is not network-accessible; it exploits the insecure creation of files in world-writable directories like /tmp or /dev/shm.

Urgency Assessment: Despite the low CVSS score (0.0) and EPSS probability (0.0%), this vulnerability represents a significant local security risk. The EPSS score indicates no known active exploitation in the wild, but the technical simplicity of the attack and the prevalence of shared hosting environments make it a high-priority issue for system administrators. The lack of a publicly available patch at the time of writing elevates the risk for affected systems.

Key Facts:

  • Vendor: Data::ReqRep::Shared (Perl module)
  • Affected Versions: All versions before 0.05
  • Patch Status: UNPATCHED (as of 2026-07-21)
  • CISA KEV: Not listed.
⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

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

Metric Decomposition:

  • AV:L (Local): The attacker must have local access to the system to create files or symlinks in the shared directory.
  • AC:L (Low): No special conditions are required beyond standard local user access. The race window for pre-creation is small but achievable.
  • PR:L (Low): The attacker requires a standard unprivileged user account.
  • UI:N (None): No user interaction is required from the victim process.
  • S:U (Unchanged): The compromise does not affect components beyond the vulnerable process's security scope.
  • C:L (Low): Information disclosure is limited to the IPC payloads stored in the shared memory segment.
  • I:L (Low): Integrity impact is limited to the ability to corrupt the shared memory segment via a pre-planted file.
  • A:N (None): No direct denial of service is achievable through this vulnerability.

Qualitative Severity Label: Informational (CVSS 0.0)

EPSS Interpretation: The EPSS probability of 0.0% indicates that as of the report date, there is no observed exploitation in the wild. This is typical for a newly published vulnerability with no public proof-of-concept.

Historical Comparison: This vulnerability is similar to CWE-377 (Insecure Temporary File) issues found in other IPC mechanisms, such as older versions of D-Bus or certain implementations of POSIX shared memory. The core flaw—predictable file paths with insecure permissions—is a classic local race condition.

Temporal & Environmental Considerations: The absence of a patch significantly increases the environmental risk. In a shared hosting environment, the CVSS score could be considered higher due to the increased likelihood of a local attacker.

Technical Deep Dive & Attack Mechanics

Step-by-Step Technical Explanation:

  1. Initialization: When a Data::ReqRep::Shared segment is created, the module calls the reqrep_shared_segment_create function (or similar) in reqrep.h.
  2. File Creation: This function executes open(path, O_RDWR | O_CREAT, 0666) to create the backing file for the shared memory segment.
  3. Insecure Permissions: The mode 0666 grants read and write permissions to all users. Under a default umask of 022, the file is created with permissions 0644 (world-readable).
  4. Missing O_EXCL: The absence of O_EXCL means that if a file already exists at the path, the open() call will succeed and use that existing file. This allows a local attacker to pre-create a file at the expected path, controlling the shared memory segment's contents.
  5. Missing O_NOFOLLOW: The absence of O_NOFOLLOW means that if a symlink exists at the path, the open() call will follow it. An attacker can plant a symlink pointing to a sensitive file (e.g., /etc/passwd), causing the shared memory operations to read from or write to that file.

Root Cause Analysis: The developer failed to follow secure file creation practices. The use of O_CREAT without O_EXCL and O_NOFOLLOW is a classic mistake that leads to TOCTOU (Time-of-Check Time-of-Use) race conditions and symlink attacks.

Attack Surface:

  • Interface: Local file system (/tmp, /dev/shm, or any world-writable directory).
  • Protocol: POSIX file system operations.
  • Pre-conditions: The attacker must have a local user account and be able to predict the file path used by the target process.

Attack Variants:

  1. Information Disclosure: An attacker reads the world-readable backing file to intercept IPC messages.
  2. Symlink Attack: An attacker creates a symlink at the expected path, pointing to a file they want to corrupt or read (e.g., a configuration file).
  3. Pre-creation Race: An attacker creates a file at the expected path before the legitimate process, allowing them to control the shared memory segment's initial state.

Why Standard Defenses Fail:

  • File Permissions: The default umask does not protect against the 0666 mode.
  • Directory Permissions: The /tmp directory is typically world-writable, making it impossible to prevent file creation.
  • Antivirus: Standard antivirus solutions do not monitor for insecure file creation patterns in IPC mechanisms.

Vulnerable vs. Patched Code Analysis

Vulnerable Code (reqrep.h, version < 0.05):

// Vulnerable: Insecure file creation
int fd = open(path, O_RDWR | O_CREAT, 0666);
if (fd == -1) {
    // handle error
}

Patched Code (reqrep.h, version 0.05):

// Patched: Secure file creation with O_EXCL and O_NOFOLLOW
// Mode changed to 0600 (owner read/write only)
int fd = open(path, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600);
if (fd == -1) {
    // handle error
}

Analysis: The patch introduces two critical flags:

  • O_EXCL: Ensures the open() call fails if the file already exists, preventing pre-creation attacks.
  • O_NOFOLLOW: Prevents the open() call from following symlinks, mitigating symlink attacks.

The file mode is also changed from 0666 to 0600, ensuring only the owner can read/write the file.

Regression Considerations: The O_EXCL flag may cause failures in environments where the shared memory segment is expected to persist across process restarts. Developers should ensure proper cleanup of the backing file when the segment is destroyed.

Timeline & Disclosure History

  • CVE Publication Date: 2026-07-21T20:17:05.030
  • Estimated Discovery: Unknown, but likely discovered through code audit or fuzzing.
  • Disclosure Process: The CVE was published by the CNA (likely the Perl security team or MITRE). No vendor coordination details are available.
  • Known Exploitation: No known active exploitation as of 2026-07-21.
  • CISA KEV: Not listed.

Threat Intelligence Context

Threat Actor Profile: This vulnerability is most likely to be exploited by:

  • Script Kiddies: Simple to understand and exploit with basic shell scripting.
  • Insider Threats: Malicious employees or contractors with local access.
  • APT Groups: In targeted attacks against shared hosting environments or cloud infrastructure.

Attack Campaign Context: No known campaigns are associated with this CVE.

Geographic Targeting: No specific geographic targeting is expected.

Industry Verticals Most at Risk:

  • Cloud Service Providers (multi-tenant environments)
  • Academic Institutions (shared computing clusters)
  • Enterprise Environments (shared development servers)

Connection to Similar Vulnerabilities: This is a classic example of CWE-377 (Insecure Temporary File), similar to vulnerabilities found in older versions of tmpwatch, screen, and various Unix utilities.

Exploitation & Lab Setup

Red Team Section

Lab Setup:

  1. Environment: A Linux VM (e.g., Ubuntu 22.04) with Perl installed.
  2. Vulnerable Software: Install Data::ReqRep::Shared version 0.04 or earlier.
    cpan install DATA::REQREP::SHARED@0.04
    
  3. Network Config: No special network configuration needed; this is a local attack.

Prerequisites:

  • A local user account on the target system.
  • Ability to write to the directory where the shared memory backing file is created (typically /tmp or /dev/shm).

Exploitation Walkthrough (Information Disclosure):

  1. Identify Target: Find a process using Data::ReqRep::Shared. This can be done by monitoring /proc or using lsof.
    # Monitor for file creation in /tmp
    inotifywait -m /tmp -e create |
        while read path action file; do
            echo "The file '$file' appeared in directory '$path' via '$action'"
        done
    
  2. Read the Backing File: Once the file is created, read its contents.
    cat /tmp/shared_segment_XXXXX
    
  3. Intercept IPC Payloads: The file will contain the raw IPC data being exchanged between processes.

Exploitation Walkthrough (Symlink Attack):

  1. Predict the Path: The path is predictable based on the segment name. For example, if the segment is named "my_segment", the path might be /tmp/my_segment.
  2. Create a Symlink:
    ln -s /etc/passwd /tmp/my_segment
    
  3. Trigger the Vulnerable Code: When the target process creates the shared segment, it will follow the symlink and write to /etc/passwd, potentially corrupting it.

Expected Output: Successful exploitation results in reading sensitive IPC data or corrupting a target file.

Post-Exploitation: An attacker can use the disclosed IPC data to further compromise the system or use the file corruption to escalate privileges.

Blue Team Section

Detection of Active Exploitation:

  • File System Monitoring: Monitor for unexpected file creations in /tmp and /dev/shm with world-readable permissions.
  • Symlink Monitoring: Monitor for the creation of symlinks in shared directories that point to sensitive files.
  • Process Monitoring: Monitor for processes that open files with O_CREAT and 0666 permissions.

Log Entries Indicating Exploitation:

  • Auditd logs showing open system calls with mode 0666 on files in /tmp.
  • Syslog entries indicating file permission changes.

Network Traffic Signatures: None; this is a local vulnerability.

Endpoint Behavioral Indicators:

  • Unexpected file reads from /tmp by unprivileged users.
  • Processes creating files with world-readable permissions.

Indicators of Compromise (IOCs)

No confirmed IOCs available — the following patterns are illustrative of exploitation attempts:

Type Value Description
File Path /tmp/*.shm World-readable shared memory backing files
File Path /dev/shm/*.shm World-readable shared memory backing files
Process perl Perl process creating insecure files
Syscall `open(path, O_RDWR O_CREAT, 0666)`

Detection Engineering

YARA Rule

rule CVE_2026_65061_Data_ReqRep_Shared_Detection {
    meta:
        description = "Detects exploitation of CVE-2026-65061 in Data::ReqRep::Shared"
        author = "Valters IT Hub"
        date = "2026-07-21"
        reference = "https://www.valtersit.com/cve/cve-2026-65061"
    strings:
        $s1 = { 4F 5F 52 44 57 52 20 7C 20 4F 5F 43 52 45 41 54 } // "O_RDWR | O_CREAT"
        $s2 = { 30 36 36 36 } // "0666"
    condition:
        $s1 or $s2
}

Sigma Rule (SIEM)

title: CVE-2026-65061 Data::ReqRep::Shared Exploitation Detection
id: 890eba96-1cc0-4475-9648-af5615000701
status: experimental
description: Detects exploitation attempts targeting CVE-2026-65061 in Data::ReqRep::Shared
author: Valters IT Hub
date: 2026-07-21
references:
    - https://www.valtersit.com/cve/cve-2026-65061
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/perl'
        CommandLine|contains: 'Data::ReqRep::Shared'
    condition: selection
falsepositives:
    - Legitimate use of the Data::ReqRep::Shared module
level: high

Suricata IDS Rule

# Network-level detection is not applicable for this local vulnerability.
# No Suricata rule is provided.

Elastic (EQL) Query

// EQL query for endpoint detection
process where process.name == "perl" and
  process.command_line.text : "*Data::ReqRep::Shared*"

Splunk SPL Query

index=linux sourcetype=process_creation
| search process_name=perl AND command_line="*Data::ReqRep::Shared*"
| table _time, host, user, process_name, command_line

Wazuh Rule

<group name="perl,exploit,">
  <rule id="100001" level="12">
    <decoded_as>json</decoded_as>
    <field name="process.name">perl</field>
    <field name="process.command_line" type="pcre2">Data::ReqRep::Shared</field>
    <description>CVE-2026-65061 - Data::ReqRep::Shared module detected</description>
    <mitre>
      <id>T1055</id>
    </mitre>
  </rule>
</group>

Remediation & Mitigation

Immediate Actions (0-24 hours)

  • Patch Application: Upgrade to Data::ReqRep::Shared version 0.05 or later.
    cpan install DATA::REQREP::SHARED
    
  • Compensating Controls: If patching is not immediately possible, restrict access to the shared directories using filesystem ACLs.
    setfacl -m o:0 /tmp
    
  • Network-Level Mitigation: Not applicable.
  • Authentication Hardening: Ensure that only trusted users have shell access to the system.

Short-term (1-7 days)

  • Configuration Hardening: Implement a system-wide umask of 077 to mitigate the impact of insecure file creation.
  • Monitoring Implementation: Deploy the detection rules provided in this report.
  • Vulnerability Scanning: Use a script to check for the vulnerable module version.
    perl -MData::ReqRep::Shared -e 'print $Data::ReqRep::Shared::VERSION'
    

Long-term

  • Architecture Changes: Consider using kernel-level IPC mechanisms (e.g., shm_open) that do not rely on world-writable directories.
  • Security Control Improvements: Implement mandatory access control (e.g., SELinux, AppArmor) to restrict file creation in /tmp.
  • Developer Training: Educate developers on secure file creation practices, specifically the use of O_EXCL and O_NOFOLLOW.

Validation

  • Confirm Patch Applied:
    perl -MData::ReqRep::Shared -e 'print $Data::ReqRep::Shared::VERSION'
    
    The output should be 0.05 or later.
  • Verify File Permissions: Check that shared memory backing files are created with mode 0600.
    ls -la /tmp/*.shm
    

References & Resources


Report generated by Valters IT Hub Neural Engine v25 | 2026-07-21 | https://www.valtersit.com/cve/cve-2026-65061

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-65061/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.