CVE-2026-126617
Last modified
CVE-2026-126617 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Progressive Robot Ltd | hMailServer | >= 6.0.0-B1, <= 6.2.18 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-126617?
How severe is CVE-2026-126617?
How do I fix CVE-2026-126617?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126611Progressive Robot hMailServer 6.3.4 through 6.3.7, with a My…7
- CVE-2026-126612Improper link resolution in the Windows installer of Progres…7.8
- CVE-2026-126613Allocation of resources without limits in the JSON reader of…7.5
- CVE-2026-126614The web services listener of Progressive Robot hMailServer 6…5.3
- CVE-2026-126615The sign-in of Progressive Robot hMailServer 6.2.22-pre2 thr…5.3
- CVE-2026-126616The auto-ban of Progressive Robot hMailServer 6.2.0 through …5.3
- CVE-2026-126618The auto-ban of Progressive Robot hMailServer 6.0.0-B1 throu…5.3
- CVE-2026-126619Misinterpretation of SQL statement text in the database laye…4.8
- CVE-2026-126621Progressive Robot hMailServer 6.0.0-B1 through 6.3.7 on Wind…7.5
- CVE-2026-126622Incorrect default permissions in the Windows installer of Pr…7.3
- CVE-2026-126623Inefficient algorithmic complexity in the JSON reader of Pro…7.5
- CVE-2026-126624Unverified ownership in the Windows installer of Progressive…7.3
Are you affected by CVE-2026-126617?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
