This release includes 4 security fixes for security teams reviewing exposed deployments.
Published 1mo
Offensive & Pentesting
β No known CVEs patched
This release patches 4 known CVEs
Topics
capture-the-flag
ctf
devtools
dns
file-server
file-transfer
+14 more
go
http-server
https-server
kali-linux
ldap
ntlm
offensive-security
penetration-testing
red-teaming
security-tools
sftp
smb
smtp-server
webdav
Affected surfaces
auth
rbac
Summary
AI summaryUpdates π Security Fixes, β¨ New Features, and β¬οΈ Dependencies across a mixed release.
Full changelog
What Changed in v2.1.2
β¨ New Features
- Payload templating β Files can now be rendered as Go templates on the fly. Request a file with the
?tplquery parameter and{{.VAR}}placeholders are substituted at download time. Enable with--templateand pass variables via the repeatable--tpl-var KEY=VALUEflag (e.g.--tpl-var LPORT=4444). Ideal for serving payloads/scripts that need host- or port-specific values baked in without editing files on disk.
./goshs -i 10.10.14.7 --template --tpl-var LPORT=4444
- Resumable downloads (HTTP Range support) β The file handler now honors
Rangerequests, enabling partial content responses and resumable/interrupted downloads of large files.
π Security Fixes
- Bulk-download ACL bypass β Selecting a parent directory for bulk (zip) download no longer bypasses authentication or block rules defined in nested
.goshsfiles. ACL is now enforced per-file during the recursive zip walk, and.goshsfiles are excluded from archives. - WebDAV ACL enforcement β Added a
.goshsguard to the WebDAV interface so directory-level access controls are now applied over WebDAV as well. - Brute-force lockout reset β Failed-login lockouts now correctly reset after the lockout duration expires instead of remaining stuck.
- Path handling β Removed a double URL-decode in
sanitizePathso filenames containing literal%and+are preserved correctly. - Share creation crash β Fixed a missing
returnafter a failedos.Statin the share handler that could lead to a nil-dereference, plus a related error-message typo.
π οΈ Build, CI & Packaging
- Docker image publishing moved into CI, with images now pushed to GitHub Container Registry (GHCR) in addition to Docker Hub; both images are now multi-arch.
- Refreshed shell completions (bash/zsh/fish) β added
--ttland--tui, and corrected the FTP flag names. - Makefile cleanup and COPR spec fixes.
- Fixed integration tests.
β¬οΈ Dependencies
- Bumped GitHub Actions:
actions/checkout6β7,docker/setup-buildx-action3β4,docker/login-action3β4,docker/build-push-action6β7, anddocker/setup-qemu-action3β4.
Security Fixes
- Bulk-download ACL bypass fixed: perβfile authentication now enforced during recursive zip creation; `.goshs` files excluded from archives
- WebDAV ACL enforcement added via `.goshs` guard to apply directoryβlevel access controls over WebDAV
- Brute-force lockout reset corrected to expire after configured duration
- Path handling fixed: double URLβdecode removed, preserving `%` and `+` in filenames
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Goshs
All releases βBeta — feedback welcome: [email protected]