Description
When copying files with rsync, octorpki uses the "-a" flag 0, which forces rsync to copy binaries with the suid bit set as root. Since the provided service definition defaults to root ( https://github.com/cloudflare/cfrpki/blob/master/package/octorpki.service ) this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Cloudflare | octorpki | < v1.4.2 | v1.4.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | cfrpki | 1.4.2-1 | — |
| Debian 11 | cfrpki | 1.4.2-1~deb11u1 | DSA-5041-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/cloudflare/cfrpki | < 1.4.2 | 1.4.2 | GHSA-3pqh-p72c-fj85 |
Advisories 1
- DSA-5041-1 cfrpki - security update Debian Security (DSA / DLA) · Mar 9, 2026