CVE-2026-78381

RansomLook Arbitrary File Read via Path Traversal in Post screen Field

Published Aug 24, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
Description
RansomLook contains a path traversal vulnerability in the handling of the screen field associated with group posts. The GroupPost.get API handler concatenates the database-controlled screen value directly with the application's source/ directory and opens the resulting path without verifying that the resolved file remains within the intended directory.

Because the screen field is free-form and can be populated either through the administrative post editor or through data imported from a remote RansomLook instance, a malicious upstream instance can provide traversal sequences such as ../config/generic.json. When the affected post is subsequently retrieved through the API, RansomLook resolves and reads the attacker-controlled path and returns the contents of the referenced file Base64-encoded in the API response.

This can allow an attacker (being admin) controlling imported post data to read arbitrary files accessible to the RansomLook process, potentially exposing sensitive configuration data, API credentials, password hashes, or other application secrets. The attack does not require the malicious upstream to possess an account on the affected RansomLook instance.

The vulnerability is addressed by resolving screen paths with os.path.realpath() and verifying that the resolved path remains beneath the application's source/ directory. Validation is performed both when values are written and immediately before files are read. Using canonical paths also prevents traversal through symbolic links that would bypass purely lexical path normalization checks.

Analysis

AI-generated

Technical impact

The vulnerability arises when group posts contain a free‑form screen field. The API concatenates the database‑controlled screen value with the application’s source directory without sanitizing it. This allows an attacker who can supply post data—either through the administrative editor or by importing from a malicious RansomLook instance—to include path‑traversal sequences such as ../config/generic.json. When the post is later retrieved, the application resolves and reads the attacker‑controlled file, returning its Base64‑encoded contents through the API. The effect is an arbitrary file read that can expose configuration files, API credentials, password hashes, or other secrets that are readable by the RansomLook process. The weakness is a classic directory‑traversal flaw classified as CWE‑22.

Affected Systems

RansomLook RansomLook. The affected version is any release before the code change that adds realpath verification. No specific version range is listed.

Risk and Exploitability

The flaw carries a CVSS score of 8.2, indicating high impact. No EPSS data is available, but the vulnerability is not listed in CISA's KEV catalog. An attacker does not need a user account on the target; it only requires the ability to supply a manipulated post, which is possible by editing posts as an admin or by importing from a compromised upstream instance. The absence of mandatory path validation makes exploitation straightforward, and the read capability could allow disclosure of privileged data with full read permissions of the RansomLook process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest RansomLook release that implements realpath checks and verifies that the resolved path remains within the source directory.
  • If an upgrade is not immediately possible, restrict or sanitize imported post data to disallow path‑traversal sequences; consider rejecting posts containing ".." in the screen field.
  • As a temporary measure, disable the API endpoint that allows post retrieval or restrict access to trusted administrators until the software is patched.

Generated by OpenCVE AI on August 24, 2026 at 17:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ransomlook
Ransomlook ransomlook
Vendors & Products Ransomlook
Ransomlook ransomlook
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description RansomLook contains a path traversal vulnerability in the handling of the screen field associated with group posts. The GroupPost.get API handler concatenates the database-controlled screen value directly with the application's source/ directory and opens the resulting path without verifying that the resolved file remains within the intended directory. Because the screen field is free-form and can be populated either through the administrative post editor or through data imported from a remote RansomLook instance, a malicious upstream instance can provide traversal sequences such as ../config/generic.json. When the affected post is subsequently retrieved through the API, RansomLook resolves and reads the attacker-controlled path and returns the contents of the referenced file Base64-encoded in the API response. This can allow an attacker (being admin) controlling imported post data to read arbitrary files accessible to the RansomLook process, potentially exposing sensitive configuration data, API credentials, password hashes, or other application secrets. The attack does not require the malicious upstream to possess an account on the affected RansomLook instance. The vulnerability is addressed by resolving screen paths with os.path.realpath() and verifying that the resolved path remains beneath the application's source/ directory. Validation is performed both when values are written and immediately before files are read. Using canonical paths also prevents traversal through symbolic links that would bypass purely lexical path normalization checks.
Title RansomLook Arbitrary File Read via Path Traversal in Post screen Field
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Aug 24, 2026, 3:19 PM
Reserved
Aug 24, 2026, 1:31 PM
Status
Deferred
Published
Aug 24, 2026, 2:17 PM
Modified
Oct 14, 2026, 1:10 PM