CVE-2021-39172

HIGH

Cachet <2.5.1 - Authenticated Code Execution via Configuration Newline Injection

Title source: manual
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-39172. PoCs published by W1ngLess.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-39172, which achieves remote code execution in Cachet 2.4 via Laravel configuration injection and Redis manipulation. The exploit authenticates, injects malicious configuration, and triggers a reverse shell.

Description

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

Exploits (1)

nomisec WORKING POC 4 stars
by W1ngLess · poc
https://github.com/W1ngLess/CVE-2021-39172-RCE

This repository contains a functional exploit for CVE-2021-39172, which achieves remote code execution in Cachet 2.4 via Laravel configuration injection and Redis manipulation. The exploit authenticates, injects malicious configuration, and triggers a reverse shell.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Cachet 2.4
Auth required
Prerequisites: Valid credentials for Cachet · Redis installed locally · Network access to target
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (3)

Core 3
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/fiveai/Cachet/releases/tag/v2.5.1

Scores

CVSS v3 8.8
EPSS 0.5203
EPSS Percentile 98.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-93
Status published
Products (2)
cachethq/cachet 0 - 2.5.1Packagist
catchethq/catchet < 2.5.1
Published Aug 27, 2021
Tracked Since Feb 18, 2026