llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · poweradmin/poweradmin

GHSA-89FJ-JXGM-9RQ6

CRLF / Header Injection in `MailService::sendSendmail()`

Parche disponible
Descargar PNG JSON
CVSS 3.1
3.1
Baja
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versiones4.2.7 · 4.3.6 · 4.4.2
Exposición32 dDesde la divulgación, 19 oct 2026, 10:32 p. m.
Detección30 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Esto es menos peligroso que un captcha de semáforos.Si todas fueran así, viviría en la playa.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +1
20 oct 26
22 oct 26
19 nov 26
21 nov 26
20 oct 26
28 oct 26
5 nov 26
13 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-89FJ-JXGM-9RQ6 divulgada · CVSS 3.1 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Hi, I analyzed this project from a cybersecurity perspective and identified some issues.
I would appreciate it if you could credit my GitHub account (https://github.com/xhydraxOffSec) as the person who reported these cybersecurity issues.

CRLF / Header Injection in `MailService::sendSendmail()`
CWE: CWE-93 (Improper Neutralization of CRLF Sequences)
Severity: Medium (conditional — see preconditions below)
Affected file: `lib/Application/Service/MailService.php`, method `sendSendmail()` (lines ~160–200)
Description
When the `sendmail` mail transport is configured (`mail.transport = sendmail` in the application config), outgoing email headers are written directly to the `sendmail` process via `fputs()` with no CRLF sanitization or validation on the `$to` / `$subject` values:

fputs($sendmail, "To: $to\r\n");
fputs($sendmail, "Subject: $subject\r\n");
foreach ($mailHeaders as $name => $value) {
    fputs($sendmail, "$name: $value\r\n");
}

If either `$to` or `$subject` can contain an embedded `\r\n` sequence by the time it reaches this method, an attacker can inject arbitrary additional headers (e.g. `Bcc:`, `Cc:`, or a second `To:`) into the outgoing message, or terminate the header block early to inject into the message body.
Note this is specific to the `sendmail` transport implementation (`sendSendmail()`); the `smtp` transport (`sendSmtp()`, via Symfony Mailer) builds messages with `Email::to()` / `addTextHeader()`, which properly encode/validate header values and are not affected.

---

Maintainer note: I checked this against all the 4.x lines. Only the sendmail transport is affected, the default php transport and smtp are fine. The address has to get into a user's stored email first, which in practice means an API v2 user update or an address coming from an OIDC/SAML/LDAP provider, so I lowered it to low. It goes back to 4.0.0, not just 4.3.5, although before 4.2.6 the default sendmail flags didn't deliver piped mail at all.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
poweradmin/poweradmin≥ 4.0.0 < 4.2.7
poweradmin/poweradmin≥ 4.3.0 < 4.3.6
poweradmin/poweradmin≥ 4.4.0 < 4.4.2
4.0.0
4.2.7
4.3.0
4.3.6
4.4.0
4.4.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistpoweradmin/poweradmin
Corregida 4.2.7, 4.3.6, 4.4.2 — —
Versiones corregidas4.2.74.3.64.4.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/poweradmin/poweradmin/security/advisories/GHSA-89fj-jxgm-9rq6

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.