llamaCVEVulnerability Intelligence
/
Progressive Robot hMailServer

CVE-2026-126617

Progressive Robot hMailServer SQL injection in mail server database queries

A remote attacker can alter the SQL statements the server runs, with the database account's privileges.

Specific setups onlyParche disponibleSQL injection
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión6.2.19
Exposición9 dDesde la divulgación, 11 nov 2026, 3:33 a. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
11 nov 26
12 nov 26
17 nov 26
20 nov 26
11 nov 26
13 nov 26
15 nov 26
18 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-126617 divulgada · CVSS 8.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 11 nov 2026

SQL injection in Progressive Robot Ltd's hMailServer, when it runs on MySQL/MariaDB or PostgreSQL, lets a remote attacker alter the SQL statements the server runs, with the privileges of the database account. In the default setup, a logged-in user who is allowed to send mail can trigger it by sending to an address of their choosing.

Affects hMailServer 6.0.0-B1 through 6.2.18 on Windows only. Fixed in 6.2.19.

¿Qué significa?A value from outside could change the SQL of the statement it was in, so the statement runs with the privileges of the database account hMailServer uses. That account owns every table, including accounts, password hashes, settings and the message index. On PostgreSQL further statements can follow, while on MySQL/MariaDB the change stays within the one statement.
¿Quién está afectado?The affected versions are hMailServer 6.0.0-B1 through 6.2.18, and the vendor lists these as Windows only. To check, open hMailServer and look at the installed version, and note which database backend (PostgreSQL, MySQL or MariaDB) the server uses, since that changes how far a change can reach.
¿Qué hacer?Upgrade to hMailServer 6.2.19 or later. The vendor's patch ID for this fix is 2ca31da750.
disagreeThe description reads as if the flaw can be reached without authentication. The CVSS vector, however, sets the required privileges to low (PR:L), which means an account with some privilege is needed. The sources do not settle which of these is correct.
Descripción original del registro (GitLab)

SQL injection in the database layer of Progressive Robot hMailServer 6.0.0-B1 through 6.2.18, when the server uses MySQL/MariaDB or PostgreSQL, allows a remote attacker to alter SQL statements the server runs. On those two engines parameters are not bound: SQLStatement::GenerateFromCommand wrote each value into the statement's text as a quoted literal with a separate string replacement over the whole text per parameter, so a value holding the name of a parameter substituted after it had that name replaced, inside the value, by the later value with its own quotes, which ended the literal early and placed the later value in the statement as SQL. The row the server writes for each recipient of a queued message carries the recipient's address twice, so in the default configuration an authenticated user who may send mail reaches it by sending to an address of their choosing. A remote unauthenticated sender reaches the same statement through a message the server sends to the envelope sender, such as a delivery failure notice or an automatic reply, and, when greylisting or message indexing is enabled (both are off by default), through the greylisting record's envelope addresses or through the message metadata the server stores for IMAP SORT, which carries four header fields of a received message. An altered statement runs with the privileges of the server's database account; on PostgreSQL, whose client call runs every statement in the text it is given, further statements can follow it, while on MySQL/MariaDB, where one statement is run per call, the change is confined to the statement it is in. SQL Server and SQL Server Compact, where parameters are bound, are not affected.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
hMailServer versions 6.0.0-B1 through 6.2.18“Versions: 6.0.0-B1 through 6.2.18.”
02
Windows only in these versions“Windows only in these versions.”
¿Quién debe revisar?Teams running hMailServer 6.0.0-B1 through 6.2.18 on Windows with MySQL/MariaDB or PostgreSQL as the database, including any server that sends mail to envelope senders
MitigaciónKeep message indexing and greylisting off; this removes only the greylisting and IMAP SORT metadata paths, not the recipient row path.
Discrepancias entre fuentesdescription-says-unauthenticated-vector-says-PR:L
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
hMailServer≥ 6.0.0-B1 ≤ 6.2.18
6.0.0-B1
6.2.18
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
hMailServer
Corregida 6.2.19 — —
Versiones corregidas6.2.19
Explotación

Arsenal público

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

Registro
EscenarioGENERALGitLab
solutionUpgrade to hMailServer 6.2.19 or later, which substitutes parameters in a single pass that never re-examines a value already written into the statement, and gives each parameter a name no other parameter's name and ordinal can form. There is no complete workaround for earlier versions on MySQL/MariaDB or PostgreSQL, since the recipient row is written for every queued message; keeping message indexing (MessageIndexing) and greylisting off, as they are by default, removes those two paths only. SQL Server and SQL Server Compact installations need no action for this issue.GitLab
Referencias
Otrahttps://gitlab.com/hmailserver/hmailserver/-/work_items/101
Otrahttps://gitlab.com/hmailserver/hmailserver/-/releases/v6.2.19

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