| ID | PPSA-202611-13 |
|---|---|
| Published | 2026-12-04 |
| Private Packagist Cloud | Affected. Fixed on 2026-12-04. |
| Private Packagist Self-Hosted (KOTS) | Not affected. |
| Private Packagist Self-Hosted (Helm) | Not affected. |
Summary
An owner or admin of an organization could log in to Private Packagist as users who had connected an account through an integration that the organization added, such as its own GitHub Enterprise, GitLab or Bitbucket Data Center, by changing the URL of the integration to a server of their own. If such a user also belonged to other organizations, the attacker could access those organizations with the user's permissions, without being a member of them.
Who was affected
Users of Private Packagist Cloud until the fix on December 4, 2026, if all of the following are true:
- The targeted user connected an account through an integration that an organization added under Settings > Integrations, for example to log in with the organization's self-managed GitLab. Integrations that Private Packagist provides, such as GitHub.com, GitLab.com and Bitbucket.org, were not affected.
- An attacker is an owner or admin of the organization that added the integration.
- The attacker knows the user id of the targeted user on the server the integration pointed to. This id is usually not secret: on a self-managed GitLab, for example, other users of that server can see it.
- Private Packagist does not ask the targeted user for the MFA code when they log in through an integration. Private Packagist only asks for the MFA code on such a login if the targeted user has MFA enabled and either enabled Enforce MFA for Login via OAuth or belongs to an organization that requires MFA for logins via OAuth. Neither is the default.
The targeted user did not have to do anything, and was not notified.
Private Packagist Self-Hosted was not affected, because organizations cannot add integrations there.
Impact
An attacker could have logged in as a targeted user and used Private Packagist with all permissions of that user. If the targeted user belonged to other organizations, this included organizations the attacker was not a member of and had no access to. Depending on the role of the targeted user in those organizations, the attacker could have:
- Downloaded their private packages and read their settings.
- Changed their packages, teams, members and settings, or added themselves as a member, where the targeted user is an owner or admin.
In the organization that added the integration, the attacker already had admin access. Logging in as one of its owners would only have added the permissions reserved for owners, such as billing and managing the owners team.
The attacker could not log in as users who never connected an account through an integration of the attacker's organization, and could not read the password of the targeted user.
What we did
Private Packagist now remembers the server and the client ID of an organization integration that each connected account was confirmed with. After an owner or admin changes one of them, the next login through that integration asks the user for their Private Packagist password, and for the MFA code if MFA is enabled, before the login completes. The same applies when the server of the integration reports a different username or email address for the connected account than before. Until the user confirms, Private Packagist does not send the stored access tokens of the connected account to the server of the integration. The fix was deployed on Private Packagist Cloud on December 4, 2026.
Do customers need to do anything
- Private Packagist Cloud: No action is required.
Credits
Thanks to TruongLV1 from FPT NightWolf for reporting this issue.
Start Free Trial
Login to create an organization and start your free trial!