CVE-2024-3250
Pebble service manager's file pull API allows access by any user
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.5
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
- Record
CVE-2024-3250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
EUVDEUVD-2024-1086
6.5
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
- Record
EUVD-2024-1086- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4685-2x5r-65pj
6.5
Pebble service manager's file pull API allows access by any user
Impact
Note: "Pebble" here refers to Canonical's service manager, not the Let's Encrypt ACME test server.
The API behind pebble pull, used to read files from the workload container by Juju charms, allows access from any user, instead of just admin. In Juju Kubernetes sidecar charms, Pebble and the charm run as root, so they have full access. But if another restricted unix user gains local access to the container host, they could hit the Pebble GET /v1/files?action=read API and would be allowed to read any file in the workload container, for example an ssh key or database password or other sensitive information. If there are ssh keys they could then potentially ssh into the workload, or if something like a database password they could log into the database.
Note that this requires local user access to the host machine. It seems unlikely that an attacker could gain this level of access in a Juju Kubernetes context, but if someone did and there's sensitive information in files accessible to Pebble, the consequences are bad.
To reproduce the issue, go back to the Pebble version in Juju 2.9 (5842ea68c9c7), do pebble run as root in one terminal window, then in another terminal window, as a regular user, use the pebble pull CLI. You will be able to pull any file as a regular user.
Patches
The original patch is commit https://github.com/canonical/pebble/commit/cd326225b9b0be067da7d8858e2c912078cbbbd5. There's also https://github.com/canonical/pebble/pull/406, which fixes this issue in more recent Pebble versions (that PR also fixes a separate issue we introduced more recently, but hasn't been released in Juju yet).
We released the fix in the following Pebble versions:
- https://github.com/canonical/pebble/releases/tag/v1.1.1
- https://github.com/canonical/pebble/releases/tag/v1.4.2
- https://github.com/canonical/pebble/releases/tag/v1.7.4
- https://github.com/canonical/pebble/releases/tag/v1.10.2
Juju will be releasing patch versions with this fix shortly:
- Juju 2.9.49 (Pebble v1.1.1)
- Juju 3.1.8 (Pebble v1.4.2)
- Juju 3.3.4 (Pebble v1.4.2)
- Juju 3.4.2 (Pebble v1.7.4)
- Juju 3.5.0 (Pebble v1.10.2)
References
- Record
GHSA-4685-2x5r-65pj- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-862
- Updated
- 2026-11-02
NVD
6.5
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
- Record
CVE-2024-3250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-732
- Updated
- 2026-11-02
OSV
6.5
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
- Record
CVE-2024-3250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-4685-2x5r-65pj
6.5
Pebble service manager's file pull API allows access by any user
Impact
Note: "Pebble" here refers to Canonical's service manager, not the Let's Encrypt ACME test server.
The API behind pebble pull, used to read files from the workload container by Juju charms, allows access from any user, instead of just admin. In Juju Kubernetes sidecar charms, Pebble and the charm run as root, so they have full access. But if another restricted unix user gains local access to the container host, they could hit the Pebble GET /v1/files?action=read API and would be allowed to read any file in the workload container, for example an ssh key or database password or other sensitive information. If there are ssh keys they could then potentially ssh into the workload, or if something like a database password they could log into the database.
Note that this requires local user access to the host machine. It seems unlikely that an attacker could gain this level of access in a Juju Kubernetes context, but if someone did and there's sensitive information in files accessible to Pebble, the consequences are bad.
To reproduce the issue, go back to the Pebble version in Juju 2.9 (5842ea68c9c7), do pebble run as root in one terminal window, then in another terminal window, as a regular user, use the pebble pull CLI. You will be able to pull any file as a regular user.
Patches
The original patch is commit https://github.com/canonical/pebble/commit/cd326225b9b0be067da7d8858e2c912078cbbbd5. There's also https://github.com/canonical/pebble/pull/406, which fixes this issue in more recent Pebble versions (that PR also fixes a separate issue we introduced more recently, but hasn't been released in Juju yet).
We released the fix in the following Pebble versions:
- https://github.com/canonical/pebble/releases/tag/v1.1.1
- https://github.com/canonical/pebble/releases/tag/v1.4.2
- https://github.com/canonical/pebble/releases/tag/v1.7.4
- https://github.com/canonical/pebble/releases/tag/v1.10.2
Juju will be releasing patch versions with this fix shortly:
- Juju 2.9.49 (Pebble v1.1.1)
- Juju 3.1.8 (Pebble v1.4.2)
- Juju 3.3.4 (Pebble v1.4.2)
- Juju 3.4.2 (Pebble v1.7.4)
- Juju 3.5.0 (Pebble v1.10.2)
References
- Record
GHSA-4685-2x5r-65pj- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N - Weakness
- CWE-862
- Updated
- 2026-11-02
OSVBIT-pebble-2024-3250 No score
It was discovered that Canonical's Pebble service manager read-file API and the associated pebble pull command, before v1.10.2, allowed unprivileged local users to read files with root-equivalent permissions when Pebble was running as root. Fixes are also available as backports to v1.1.1, v1.4.2, and v1.7.4.
- Record
BIT-pebble-2024-3250- Updated
- 2026-11-02
OSVGO-2024-2692 No score
Pebble service manager's file pull API allows access by any user in github.com/canonical/pebble
Pebble service manager's file pull API allows access by any user in github.com/canonical/pebble
- Record
GO-2024-2692- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/canonical/pebbleGo |
1.2.0 up to 1.4.1 | 1.4.1 |
github.com/canonical/pebbleGo |
1.5.0 up to 1.7.3 | 1.7.3 |
github.com/canonical/pebbleGo |
1.8.0 up to 1.10.1 | 1.10.1 |
github.com/canonical/pebbleGo |
before 1.1.1 | 1.1.1 |
pebbleBitnami |
before 1.4.1, 1.4.2 up to 1.7.3, 1.7.4 up to 1.10.2 | 1.4.11.7.31.10.2 |
github.com/canonical/pebbleGo |
1.2.0 up to 1.4.2 | 1.4.2 |
github.com/canonical/pebbleGo |
1.8.0 up to 1.10.2 | 1.10.2 |
github.com/canonical/pebbleGo |
before 1.1.1, 1.2.0 up to 1.4.2, 1.5.0 up to 1.7.3, 1.8.0 up to 1.10.2 | 1.1.11.4.21.7.31.10.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-3250 is a medium vulnerability (CVSS 6.5) in Canonical Pebble, published April 4, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.20%, the 10th percentile. Fixed in github.com/canonical/pebble 1.4.1.
References
cve.org/CVERecord?id=CVE-2024-3250
github.com/canonical/pebble/security/advisories/GHSA-4685-2x5r-65pj
nvd.nist.gov/vuln/detail/CVE-2024-3250
github.com/canonical/pebble/pull/406
github.com/canonical/pebble/commit/4ca343d3889533143477e21c63867f2f3c3b5645
github.com/canonical/pebble/commit/a5f6f062a11ea156697b854264385ff7e1985fd8