CVE-2026-81485 in linkedin-ads-mcpinfo

Summary

by MITRE • 08/27/2026

A security vulnerability has been detected in danielpopamd linkedin-ads-mcp 1.0.0. Affected by this vulnerability is the function fs.readFileSync of the file src/tools/campaign-management.ts of the component Media Upload. Such manipulation of the argument filePath leads to path traversal. The attack may be performed from remote. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 08/27/2026

The danielpopamd linkedin-ads-mcp version 1.0.0 contains a critical path traversal vulnerability within its Media Upload component, specifically located in the src/tools/campaign-management.ts file. This flaw arises from improper validation of user-supplied input passed to the fs.readFileSync function via the filePath argument. The application fails to adequately sanitize or canonicalize the provided file path before using it for filesystem operations. Consequently, an attacker can manipulate this parameter by injecting directory traversal sequences, such as dot-dot-slash characters, to redirect the read operation away from the intended target directory and access arbitrary files on the host system where the service is running.

This vulnerability represents a classic instance of CWE-22: Improper Limitation of a Pathname to a Restricted Directory. The core technical failure lies in the lack of robust input validation mechanisms that would ensure the resolved file path remains within an expected base directory or sandboxed area. By exploiting this weakness, a remote attacker can bypass intended access controls and read sensitive files from the server's filesystem. This capability allows for unauthorized data disclosure, potentially exposing configuration files containing credentials, source code with hardcoded secrets, system logs revealing internal architecture details, or other critical application data that should remain inaccessible to external users.

The operational impact of this vulnerability is severe due to its remote exploitability and public availability. Since the exploit has been disclosed publicly, automated scanning tools and malicious actors can readily identify and target instances of this software in production environments without requiring specialized knowledge or custom tooling development. The fact that the project maintainers have not yet responded to early issue reports suggests a potential lack of active maintenance or security oversight, increasing the window of exposure for users who continue to deploy this version. This scenario aligns with ATT&CK technique T1083: File and Directory Discovery, as the primary goal is often reconnaissance to gather information about the underlying operating system and application structure before proceeding to more destructive actions like data exfiltration or further exploitation based on discovered vulnerabilities.

To mitigate this risk immediately, organizations running danielpopamd linkedin-ads-mcp version 1.0.0 should consider upgrading to a patched version if one becomes available from the maintainers in the future. In the interim, strict input validation must be implemented at the application level to ensure that any file path provided by users is resolved and verified against an allowlist of permitted directories before being passed to filesystem functions. Additionally, deploying the service with minimal privileges can limit the damage caused if exploitation occurs, ensuring that the process does not have read access to sensitive system files or configuration data outside its designated working directory. Network-level controls such as web application firewalls may also help detect and block requests containing obvious path traversal patterns, although they should be viewed as a secondary defense layer rather than a primary solution.

Responsible

VulDB

Disclosure

08/27/2026

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!