Tuesday, May 6, 2025
HomeCVE/vulnerabilityCritical AnythingLLM Vulnerability Exposes Systems to Remote Code Execution

Critical AnythingLLM Vulnerability Exposes Systems to Remote Code Execution

Published on

SIEM as a Service

Follow Us on Google News

A critical security flaw (CVE-2024-13059) in the open-source AI framework AnythingLLM has raised alarms across cybersecurity communities.

The vulnerability, discovered in February 2025, allows attackers with administrative privileges to execute malicious code remotely, potentially compromising entire systems.

DetailDescription
CVE IDCVE-2024-13059
SeverityCritical (CVSS 9.1)
EPSS Score0.04% (Low exploitation probability)
Affected VersionsAnythingLLM versions < 1.3.1
Patched Version1.3.1 (released February 10, 2025)
ImpactRemote Code Execution (RCE) via path traversal

Vulnerability Breakdown

According to the Offsec report, the flaw originates from improper filename sanitization in the multer library, used by AnythingLLM for file uploads.

- Advertisement - Google News

Non-ASCII filenames containing directory traversal sequences (e.g., ../../malicious.sh) are not properly validated, enabling attackers to write files to unintended locations.

The exploitation process begins when an attacker with manager or admin access to a vulnerable AnythingLLM instance crafts a malicious file containing directory traversal sequences in its filename (e.g., ../../malicious.js).

Due to improper sanitization of non-ASCII filenames in the multer library, the application fails to detect these sequences.

When the file is uploaded via AnythingLLM’s interface, the server mistakenly writes it to unintended locations outside the restricted upload directory.

For example, a file named ../../../etc/cron.d/exploit could be placed in a system directory responsible for scheduling automated tasks.

If the file is executed—either through scheduled jobs, startup scripts, or other mechanisms—it enables full remote code execution (RCE), granting the attacker control over the compromised system.

This attack vector highlights how elevated privileges and insufficient input validation combine to turn a simple file upload into a critical system breach.

Organizations using AnythingLLM for AI-driven workflows, such as customer support automation or internal data analysis—are urged to act swiftly.

Delayed patching could lead to data breaches, service disruptions, or unauthorized access to sensitive infrastructure.

Find this News Interesting! Follow us on Google NewsLinkedIn, & X to Get Instant Updates!

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Latest articles

BFDOOR Malware Targets Organizations to Establish Long-Term Persistence

The BPFDoor malware has emerged as a significant threat targeting domestic and international organizations,...

Uncovering the Security Risks of Data Exposure in AI-Powered Tools like Snowflake’s CORTEX

As artificial intelligence continues to reshape the technological landscape, tools like Snowflake’s CORTEX Search...

UNC3944 Hackers Shift from SIM Swapping to Ransomware and Data Extortion

UNC3944, a financially-motivated threat actor also linked to the group known as Scattered Spider,...

Over 2,800 Hacked Websites Targeting MacOS Users with AMOS Stealer Malware

Cybersecurity researcher has uncovered a massive malware campaign targeting MacOS users through approximately 2,800...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

BFDOOR Malware Targets Organizations to Establish Long-Term Persistence

The BPFDoor malware has emerged as a significant threat targeting domestic and international organizations,...

Uncovering the Security Risks of Data Exposure in AI-Powered Tools like Snowflake’s CORTEX

As artificial intelligence continues to reshape the technological landscape, tools like Snowflake’s CORTEX Search...

UNC3944 Hackers Shift from SIM Swapping to Ransomware and Data Extortion

UNC3944, a financially-motivated threat actor also linked to the group known as Scattered Spider,...