A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-31134

CVE-2025-31134: FreshRSS Information Disclosure Flaw

CVE-2025-31134 is an information disclosure vulnerability in FreshRSS that allows attackers to probe server directories for sensitive configuration data. This article covers technical details, affected versions, and mitigation.

Updated: May 19, 2026

CVE-2025-31134 Overview

CVE-2025-31134 is an information disclosure vulnerability in FreshRSS, a self-hosted RSS feed aggregator. Versions prior to 1.26.2 allow an unauthenticated remote attacker to determine whether specific directories exist on the host. An attacker can use this oracle to fingerprint installed PHP versions or other software present on the server. That reconnaissance data can be combined with known exploits to mount follow-on attacks against the underlying host. FreshRSS 1.26.2 contains the fix, which corrects file-serving logic for symlinked third-party extensions in p/ext.php and lib/lib_rss.php. The weakness is tracked under [CWE-201] (Insertion of Sensitive Information Into Sent Data).

Critical Impact

Unauthenticated attackers can probe the FreshRSS host filesystem to discover installed software and PHP versions, enabling targeted follow-on exploitation.

Affected Products

  • FreshRSS versions prior to 1.26.2
  • FreshRSS self-hosted deployments exposing the p/ext.php endpoint
  • Installations using third-party extensions resolved through symlinked directories

Discovery Timeline

  • 2025-06-04 - CVE-2025-31134 published to NVD
  • 2025-06-10 - Last updated in NVD database

Technical Details for CVE-2025-31134

Vulnerability Analysis

The vulnerability resides in how FreshRSS resolves and serves files for third-party extensions. The extension handler in p/ext.php uses realpath() to validate that a requested file is contained within THIRDPARTY_EXTENSIONS_PATH. When an extension directory is a symbolic link, realpath() resolves the link to its filesystem target outside that path, causing the validation check to fail and the response behavior to differ based on whether the target path exists.

An attacker can request crafted paths through the extension endpoint and observe the response. Differences in HTTP status, response size, or error behavior reveal whether a referenced directory or file is present on the underlying host. The oracle works without authentication and only requires network access to the FreshRSS instance.

The data exposed is limited to existence information about filesystem paths. However, that signal is sufficient to enumerate PHP installations, package directories, and adjacent software. The disclosure aligns with [CWE-201], where application logic unintentionally leaks server-side state to remote requesters.

Root Cause

The root cause is missing handling of symbolic links in the extension path resolution logic. FreshRSS treated realpath() output as authoritative without first checking whether the requested directory was itself a symlink. As a result, the application's response to file requests varied based on the existence of the symlink target.

Attack Vector

Exploitation requires only network access to the FreshRSS web interface. The attacker issues HTTP requests to the extensions endpoint with crafted filenames and infers existence from response differences. No credentials or user interaction are required.

php
// Patch in lib/lib_rss.php - handle symlinked directories before recursive removal
	return true;
}

if (is_link($dir)) {
    if (PHP_OS_FAMILY === "Windows") {
        return rmdir($dir);
    }

    return unlink($dir);
}

$files = array_diff(scandir($dir) ?: [], ['.', '..']);
foreach ($files as $filename) {
    $filename = $dir . '/' . $filename;

Source: FreshRSS commit 4568111

php
// Patch in p/ext.php - short-circuit when the extension directory is a symlink
$third_party_extension = realpath(THIRDPARTY_EXTENSIONS_PATH . '/' . $file_name);
if (false !== $third_party_extension) {
    $original_dir = THIRDPARTY_EXTENSIONS_PATH . '/' . explode('/', $file_name)[0];
    if (is_link($original_dir)) {
        return THIRDPARTY_EXTENSIONS_PATH . '/' . $file_name;
    }

    return $third_party_extension;
}

Source: FreshRSS commit 4568111

Detection Methods for CVE-2025-31134

Indicators of Compromise

  • Repeated HTTP GET requests to p/ext.php with varying file_name parameters from a single source IP
  • Requests to the extensions endpoint containing path traversal sequences or references to system directories such as /usr/lib/php or /etc
  • Anomalous 4xx response patterns from FreshRSS that correlate with directory enumeration

Detection Strategies

  • Inspect web server access logs for high-volume scanning against the FreshRSS p/ext.php route
  • Alert on requests to FreshRSS extension paths that reference filenames containing absolute paths or .. sequences
  • Correlate scanning of the FreshRSS host with subsequent exploitation attempts against PHP or auxiliary services identified through the oracle

Monitoring Recommendations

  • Forward FreshRSS web server logs to a centralized analytics platform and baseline normal extension request patterns
  • Track the installed FreshRSS version across hosts and flag any instance still running a release earlier than 1.26.2
  • Monitor outbound reconnaissance follow-up activity such as targeted requests against the specific PHP version paths probed earlier

How to Mitigate CVE-2025-31134

Immediate Actions Required

  • Upgrade FreshRSS to version 1.26.2 or later on all self-hosted instances
  • Restrict network exposure of FreshRSS to trusted networks or place the application behind an authenticated reverse proxy
  • Review third-party extension directories and remove unnecessary symbolic links pointing outside THIRDPARTY_EXTENSIONS_PATH

Patch Information

The fix is shipped in FreshRSS 1.26.2 via commit 4568111. Details are published in GitHub Security Advisory GHSA-jjm2-4hf7-9x65. The patch adds is_link() checks before path resolution so symlinked extension directories are handled without leaking target existence through realpath() behavior.

Workarounds

  • Block public access to the p/ext.php endpoint at the reverse proxy until the upgrade is applied
  • Remove or relocate third-party extension symlinks so extension paths resolve only within the FreshRSS installation tree
  • Apply rate limiting and request validation rules at the web server to suppress directory enumeration attempts
bash
# Example nginx rule to block direct access to the extension endpoint pending upgrade
location = /p/ext.php {
    deny all;
    return 403;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechFreshrss

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-201

  • NVD-CWE-Other
  • Vendor Resources
  • GitHub Commit Note

  • GitHub Security Advisory GHSA-jjm2-4hf7-9x65
  • Related CVEs
  • CVE-2025-68402: FreshRSS Auth Bypass Vulnerability

  • CVE-2025-62166: FreshRSS Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English