CVE-2026-48827
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPath traversal vulnerability in Apache MINA SSHD bundle sshd-git. Lack of path validation in git-upload-pack, git-receive-pack, and other git operations allows users authenticated over SSH access to git repositories outside the configured git server root directory. Applications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected. Users are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue. The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M3 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git. Upgrade affected applications to 3.0.0-M4. We would like to point out that a professional git server should not rely solely on file system layout and permissions, but should implement additional security controls to govern access to git repositories and operations allowed on particular git repositories.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencePath traversal vulnerability in Apache MINA SSHD's sshd-git bundle where git-upload-pack, git-receive-pack, and other git operations lack path validation. This allows SSH-authenticated users to access git repositories outside the configured git server root directory by manipulating file paths.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.0.0, < 2.18.0= 3.0.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache MINA SSHD installation and versionSearch for sshd-core or sshd-git JAR files in your application dependencies (e.g., pom.xml, requirements.txt, lib directory) or run: java -jar <sshd-jar> --version. Check the version number against the affected ranges: >= 2.0.0 and < 2.18.0, or exactly 3.0.0.Affected if The installed version is 2.0.0 through 2.17.x, or is exactly 3.0.0 (including milestone versions M1-M3).
-
Confirm sshd-git module is in useLook for the sshd-git artifact in your build configuration or verify that git repository serving functionality is enabled in your application. Check for imports of org.apache.sshd.git.* classes in your codebase.Affected if The sshd-git module is present and git repository serving is configured.
-
Verify git operations are exposedInspect your SSHD server configuration for enabled git commands: git-upload-pack, git-receive-pack, git-upload-archive, and other git service handlers. These are typically configured via SshGitModule or similar git-specific command factories.Affected if Git operations (git-upload-pack, git-receive-pack) are exposed via SSH.
-
Check repository root directory configurationReview your SSHD git configuration to identify the configured repository root or base path. Look for properties like git.repositoryRoot, git.basePath, or similar configuration keys that define where repositories are served from.Affected if A repository root is configured and git operations are accessible to authenticated users without additional path validation layers.
You are affected if Apache MINA SSHD sshd-git bundle version is less than 2.18.0 (or is 3.0.0) and git operations are enabled, allowing authenticated SSH users to potentially access files outside the configured repository root.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.18.0
Upgrade to Apache MINA SSHD version 2.18.0 (or 3.0.0-M4 for the upcoming major version) which contains the fix. Additionally, implement access control checks beyond filesystem permissions to govern which repositories users can access.
Apache MINA SSHD 2.18.0 (or 3.0.0-M4 for 3.x line users)
- Identify all applications and projects that depend on org.apache.sshd:sshd-git library
- For applications using MINA SSHD 2.x: Update the dependency version to 2.18.0 (org.apache.sshd:sshd-git:2.18.0)
- For applications using MINA SSHD 3.x milestones (M1-M3): Update the dependency version to 3.0.0-M4 (org.apache.sshd:sshd-git:3.0.0-M4)
- Rebuild the affected applications with the new dependency version
- Perform regression testing, particularly verifying git operations (git-upload-pack, git-receive-pack) cannot access files outside the configured repository root
- Deploy the updated applications
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-48827 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-48827 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data