HL7 FHIR IG Publisher potentially exposes GitHub repo user and credential informationGHSA-6729-95v3-pjc2
MEDIUMFix: HL7/fhir-ig-publisher@d968694GHSA-6729-95v3-pjc2 is a medium-severity (CVSS 4.2) Information Exposure vulnerability in org.hl7.fhir.publisher:org.hl7.fhir.publisher.core. A fix is available for org.hl7.fhir.publisher:org.hl7.fhir.publisher.core — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-6729-95v3-pjc2.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.hl7.fhir.publisher:org.hl7.fhir.publisher.core☕org.hl7.fhir.publisher:org.hl7.fhir.publisher.cliReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
In CI contexts, the IG Publisher CLI uses git commands to determine the URL of the originating repo. If the repo was cloned, or otherwise set to use a repo that uses a username and credential based URL, the entire URL will be included in the built Implementation Guide, exposing username and credential. This does not impact users that clone public repos without credentials, such as those using the auto-ig-build continuous integration infrastructure.
Patches
This problem has been patched in release 1.8.9
Workarounds
Users should update to 1.8.9 or the latest release
OR
Users should ensure the IG repo they are publishing does not have username or credentials included in the origin URL. Running the command git remote origin url should return a URL that contains no username, password, or token.
OR
Users should run the IG Publisher CLI with the -repo parameter and specify a URL that contains no username, password, or token.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.hl7.fhir.publisher:org.hl7.fhir.publisher.core | all versions | 1.8.9org.hl7.fhir.publisher:org.hl7.fhir.publisher.core:1.8.9 |
| ☕Maven | org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli | all versions | 1.8.9org.hl7.fhir.publisher:org.hl7.fhir.publisher.cli:1.8.9 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.hl7.fhir.publisher:org.hl7.fhir.publisher.core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.hl7.fhir.publisher:org.hl7.fhir.publisher.core to 1.8.9 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6729-95v3-pjc2 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is GHSA-6729-95v3-pjc2 in your dependencies?
Find it across Maven, including transitive dependencies.