Erugooss/erugo releases

New releases of erugooss/erugo are posted here automatically.

Join @releases-erugo to get a DM and a bell for every release.

erugooss/erugo v0.2.16 - Security Release

Security Release

This release fixes three security problems. Everyone running Erugo 0.2.15 or earlier should upgrade.

Security fixes

  • PHP2Shell (CVE-2026-109618 and CVE-2026-109619). The image ran PHP 8.3.14 on Alpine 3.19, which is end of life and no longer gets PHP updates. It now uses Alpine 3.24 with PHP 8.3.37, which fixes these unauthenticated remote code execution bugs in PHP-FPM. The build now fails if PHP is older than 8.3.36, and session.upload_progress.enabled is turned off, as PHP’s advisory recommends.
  • SMTP settings readable by any logged-in user. The settings API let any logged-in user read admin settings, including the SMTP username and password. Reverse-share guests get a login token too, so anyone with a reverse-share invite link could read them. Settings now have an explicit list of what’s public, and everything else is admin-only.
  • Disabled and unverified accounts could still log in. Login didn’t check whether an account was active, so a user an admin had disabled could still sign in, and so could a self-registered user who hadn’t verified their email. Login, token refresh and SSO sign-in now refuse inactive accounts. A wrong password now returns 401 instead of a server error.

Other changes

  • Caddy moves from 2.7 to 2.11.9 with the new Alpine base. The Caddyfile is unchanged.

Upgrading

Pull the new image and restart:

docker compose pull
docker compose up -d

The image is wardy784/erugo:0.2.16, also tagged latest, for amd64 and arm64.

If your instance has users you don’t fully trust, or you’ve sent reverse-share invites, change your SMTP password after upgrading, since it could have been read before this release.

Credits

Thanks to @​anyingiit (#294) and @​jasonpsimon (#297) for the Alpine and PHP changes, and to @​RZA-SF for reporting the settings and login problems (#273, #274).

Full changes: #307

erugooss/erugo v0.3.0

Erugo 0.3.0

Most of what’s in 0.3.0 was written by Erugo’s contributors. While releases here were slow, @​RZA-SF and @​moutonnoireu kept working on it. They found and fixed security problems and built new share features, and RZA kept his own preview images running for people who needed the fixes sooner. This release brings their work back into the official project.

It’s one big release on purpose. Since 0.2.15 in January, the official image, RZA’s preview images, the community forks and the iOS app branch drifted apart, and each fix had to be made in more than one place. 0.3.0 puts them back on one codebase. Every pull request now runs the test suite, releases are built and published by GitHub Actions, and there’s a tested upgrade path from each of those images. That means future fixes can go out in smaller, more regular releases, led by the community and the people contributing to it.

Thank you to everyone who has put time into Erugo. Special thanks to @​RZA-SF and @​moutonnoireu for your dedication and hard work. A lot of people are running safer, better Erugo installs because of you, and both of you have since joined the project as maintainers.

Thanks

  • @​RZA-SF wrote most of this release: share lifecycle, file management, clones, disk usage, email normalisation, PHP 8.4, the split Caddy logs and most of the security fixes (#260, #261, #262, #263, #264, #266, #268, #269, #270, #271, #272, #275, #276, #277, #278, #282, #302).
  • @​moutonnoireu fixed warning emails failing when a share’s owner has been deleted, the auth providers message on the settings page, older themes blanking the settings pages, and a French label.
  • @​anyingiit (#294) and @​jasonpsimon (#297) did the Alpine and PHP work that 0.2.16 shipped and this release builds on.

Security fixes

  • Laravel and the other PHP dependencies are updated. 0.2.16 had 135 published advisories across 22 of them. 0.3.0 has none.
  • Share API responses no longer include the bcrypt hash of a share’s password.
  • Login is rate limited by IP and by email on every auth endpoint, web and app. Throttled requests get a JSON 429.
  • The tusd upload hook endpoint can only be called from inside the container, with a key made at every boot. Before, anyone whose requests reached Erugo from a private address (Docker Desktop, some Linux setups, a LAN proxy) could fake upload events.
  • tusd no longer serves in-progress uploads to anyone who knows an upload ID.
  • Path checks on downloads now use a proper folder boundary, and the share zip is built with PHP’s ZipArchive instead of the zip command. Symlinks inside a share are skipped.
  • Markdown, login provider icons and branding colours are sanitised before they reach the page.
  • Error responses no longer include internal exception messages or server paths.
  • Theme uploads are checked by content and size. Background uploads are checked by content and by file extension.
  • CORS is limited to the app’s own URL. The download route only accepts GET and POST.
  • Reverse-share invite tokens are sent in the request body, not the URL.
  • Disabled accounts can’t log in, refresh or reset their way back in, on web or app.
  • Web refresh tokens last 24 hours. A bug made them last 60 days.
  • Created folders are 0750 instead of 0777, and storage permissions are fixed at startup.

New

  • Share lifecycle. Extend a share by days, weeks, months, to a date, or to no expiry. Owners can ask for a share to be deleted early; admins can delete or purge shares.
  • Manage existing shares. Add files to a share, replace a file, or clone a share. A clone shares its files on disk with the original through hard links, so it takes no extra space.
  • Disk usage. The admin stats show real disk use, counting hard-linked files once.
  • Emails are case-insensitive. Addresses are stored in lowercase and login works whatever case you type.
  • iOS app support. The API used by the Erugo iOS app is now in the official image, under /api/app/v1. The app is in beta: download it from TestFlight.
  • Trusted proxies setting in System settings, so rate limits and download logs see real client IPs behind a reverse proxy.
  • PHP 8.4 and Laravel 13. The image now uses PHP 8.4.28 on Alpine 3.24, and the build fails on anything older than 8.4.27. Laravel moves from 11 to 13, since Laravel 11 no longer gets security fixes.

Fixed

  • Expiry and deletion warning emails no longer fail when a share’s owner has been deleted.
  • Saving settings no longer always says auth providers were saved, and shows an error when saving them fails.
  • Themes saved by older versions no longer leave the settings pages blank.

Things that behave differently

  • Behind a reverse proxy? Add your proxy’s address under System settings → Trusted proxies. By default only loopback is trusted, so devices on your network can’t fake their IP. Erugo shows a warning with a button to trust the proxy when it sees forwarded headers from an address it doesn’t trust.
  • Accounts whose emails differed only by case. When emails are lowercased, the newer of any such pair is disabled and its email gets a __dup_<id> suffix. The details are written to storage/logs/email-normalization-<date>.log. Check that file after upgrading.
  • Password reset links still expire after 60 minutes. Welcome emails for accounts an admin creates now last 24 hours.
  • Caddy logs. storage/logs/caddy.log is replaced by caddy-access.log for requests and caddy-error.log for errors. They roll over at 20 MB and 10 MB and keep a week of history. Your old caddy.log is left alone, and you can delete it.
  • App API. A disabled account now gets 403 with AUTH_ACCOUNT_INACTIVE instead of 401, and access_token_expires_in reports the access token’s real lifetime (3600 seconds).

Upgrading

Back up your storage volume, then pull the new image and restart:

docker compose pull
docker compose up -d

The image is wardy784/erugo:0.3.0, also tagged 0.3, 0 and latest, for amd64 and arm64.

Coming from RZA-SF’s preview images

If you’ve been running ghcr.io/rza-sf/erugo:..., you can move back to the official image and keep your data:

  1. Back up your storage volume.
  2. In your compose file, change the image to wardy784/erugo:0.3.0. Keep the same storage volume.
  3. docker compose pull && docker compose up -d

0.3.0 includes the migrations those images ran, under the same names, so they aren’t run again. Clones, shares with no expiry, shares waiting for deletion and lowercased emails all carry over.

Those images kept a loose copy of every multi-file share’s files next to its zip. 0.3.0 goes back to keeping just the zip and unpacks it when it needs to. Shares you already have keep their loose copy until they expire or you add files to them, and they work either way. We tested this from his 0.2.15-421a556 and 0.2.16-6c61323 builds.

Live shares

Live shares are in the code but switched off. They aren’t ready yet.

Getting involved

If you’ve fixed something in your own fork, please open a pull request. With tests running on every PR and releases automated, it’s now much quicker to get a fix reviewed and shipped.

erugooss/erugo v0.3.1

Erugo 0.3.1

A bug fix and security release on top of 0.3.0. If you’re running 0.3.0, please upgrade. Two of the fixes are for problems that let people see or reach things they shouldn’t.

The parallel uploads work from #309 isn’t in this release. It changes how every upload works, so it’s coming in 0.4.0.

Thanks

  • @​vcazsdk (#252) found that password-protected shares showed their contents without the password, and that reverse-share invite links stopped working too early.
  • @​benediktpenner (#188) fixed single-file downloads from password-protected shares.
  • @​SIMVIA-lucas-sovre (#256, #258) tracked down the hang where the whole app stopped responding, down to the exact place Caddy and PHP were waiting on each other.

Security fixes

  • Password-protected shares no longer show what’s in them before you enter the password. Anyone with the link could see the share’s name, file names, message and the sender’s name. The password was only checked when downloading. Now the share page asks for the password first and shows nothing else until it’s right.
  • SMTP passwords and SSO client secrets are no longer sent to the admin settings page. Any admin could read them by switching the password box to plain text in the browser’s inspector. The page now shows whether a secret is set, but never its value.
  • tusd is updated from 2.6.0 to 2.10.4. The old version was built with an outdated Go and old copies of its libraries. It accounted for about 200 of the issues an image scanner reports in 0.3.0, including 21 of the 23 marked critical. sudo is also gone from the image, since nothing used it.
  • A few half-sent requests can no longer take the whole app down. A client that started sending a request and then stopped held one of PHP’s 5 workers until the container restarted. Five of those, whether from flaky connections or on purpose, and nothing answered. Caddy now reads the request body itself before passing it to PHP. It does this for bodies up to 16 MB, which covers everything except a very large background video upload.

Fixed

  • Clicking a single file in a password-protected share downloads it. Before, it always failed with “Password required”, even after the password was entered.
  • Reverse-share invite links work for the full 7 days, and can be opened again. The link in the email stopped working after an hour. It was also used up the moment it was opened, so if the upload failed or the tab was closed, the person had to ask for a new invite. Now it keeps working until something is actually uploaded.
  • The “untrusted proxy” warning no longer shows on installs with no proxy. Since 0.3.0, plain Docker installs saw a warning about forwarded headers from 172.17.0.1. It came from Caddy inside the container, not from a real proxy. If you already see it, it can stay for up to 24 hours after upgrading, until the cached check expires.
  • Emails no longer go out with “null” as the sender name. Saving settings stored empty fields as the text “null”. On a fresh install, the first save did this to the SMTP host, username and sender details. Existing “null” values are cleared when you upgrade.
  • Upgrading from 0.1.x no longer overwrites a theme you saved. On installs that started on 0.1.x, the first theme saved in the editor had the same ID that 0.2.0 later gave the bundled Erugo 2026 theme. That saved theme had its colours replaced on every start, and Erugo 2026 never appeared. Saved themes are now left alone, and Erugo 2026 is added on the next start. If your theme was already overwritten, its original colours can’t be recovered, so you’ll need to set them again.

Things that behave differently

  • SMTP password and SSO client secret boxes are empty in settings. Leave them empty to keep the saved value, or type a new one to replace it. The SMTP password has a “Remove saved password” link if you want to clear it.
  • Scripts that read protected shares from the API. GET /api/shares/{id} now returns "locked": true and no details for a password-protected share, unless the password is sent in an X-Share-Password header. A wrong password gets a 401. Downloads work the same as before.

Upgrading

Back up your storage volume, then pull the new image and restart:

docker compose pull
docker compose up -d

The image is ghcr.io/erugooss/erugo:0.3.1, also tagged 0.3, 0 and latest, for amd64 and arm64. It’s on Docker Hub as wardy784/erugo with the same tags.

erugooss/erugo v0.3.2

Erugo 0.3.2

This release fixes a security problem and brings the app API in line with recent security fixes. Everyone running 0.3.0 or 0.3.1 should upgrade.

Security

  • Fixed account takeover through SSO sign-in in the app API (GHSA-77gj-jmpx-g9fq). If an SSO provider was turned on, an attacker could get a user to sign in through a crafted link and receive that user’s sign-in code. The callback scheme is now limited to the ones listed in the new ERUGO_APP_CALLBACK_SCHEMES setting, which defaults to erugo. If you can’t upgrade straight away, turn off SSO providers or block /api/app/v1/auth/external/* at your proxy.

App API

  • The SMTP password is no longer sent back. The app gets ******** and a smtp_password_set flag instead.
  • Reading a password-protected share now needs the password, unless you can manage the share.
  • Share passwords can be sent in the X-Share-Password header or a POST body, so they don’t have to go in the URL.
  • Background uploads check the file’s real type.
  • Live share limits are hidden while live shares are turned off.

Thanks

  • @​aquasalt reported the SSO sign-in problem.