Download Latest Version OpenEstate v0.9.1 -- Cheque Queue Validation Fix source code.zip (2.5 MB)
Home / v0.8.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-10 3.1 kB
v0.8.3 -- Security fix (broker portal document access) source code.tar.gz 2026-10-10 1.9 MB
v0.8.3 -- Security fix (broker portal document access) source code.zip 2026-10-10 2.5 MB
Totals: 3 Items   4.4 MB 0

A security release. Every install should upgrade. Two migrations: one adds a column, the other only changes database access rules (no table or data changes). No new environment variable; no change to install, backup, restore or uninstall. Advisory: GHSA-gq5m-m6q6-x32p (Low severity).

How to upgrade

:::bash
cd /opt/openestate-src/deploy/native
sudo ./upgrade-native.sh --ref v0.8.3
  • Use a release tag, never a branch name like master. The upgrade script in v0.8.2 and earlier, run with a branch name, checks out an out-of-date local copy of that branch and silently installs old code.
  • If the upgrade stops with "would clobber existing tag" (a source checkout cloned before the repository's history was rewritten), run sudo git -C /opt/openestate-src fetch --tags --force origin once, then upgrade again.
  • Keep the server clock synced (timedatectl should say System clock synchronized: yes) or 2FA codes will fail. A virtual machine resumed from a snapshot can have a stale clock.
  • Two migrations: one adds a column (users.authz_version), the other only changes database access rules. No new settings.

Security

  • Broker portal documents (GHSA-gq5m-m6q6-x32p). A signed-in broker could download a customer's stored documents (receipts, statements, demand letters, and staff-only allotment and reminder letters) of a booking that broker sourced, if they knew the document's ID, which the portal never shows to a broker. A broker can now fetch only their own commission statements, and customers only the document types their portal lists, and, as before, only for their own bookings (customers could never reach another customer's documents). The matching database access rules were narrowed too. Affects all versions up to 0.8.2.
  • Sessions end immediately. Previously a deactivated user could keep working in an open browser for up to 15 minutes. Now any signed-in request is refused as soon as the user is deactivated, their role or its permissions change, their password is changed or reset, or their 2FA is reset or turned on or off. The browser tries one silent refresh first, so sessions that are still allowed carry on.
  • Tokens without a surface claim are refused, closing a compatibility window left from v0.8.1.

Fixed

  • Audit-log times on servers not in UTC (for example Asia/Kolkata) were 5 h 30 min in the future. New rows are correct; older rows are not changed.
  • upgrade-native.sh --ref no longer exits silently when a tag differs from GitHub's (the "would clobber existing tag" case).

Testing

The upgrade was rehearsed on a real v0.8.2 test server in two steps (public code, then the portal fix) and checked in a real browser: sign-in and reload, 2FA, deactivation and role change ending sessions, audit-log times, customer and broker document access, and a portal session being refused on staff routes. The full backend suite (1,090 tests) and 63 browser tests pass.

Full details: CHANGELOG.

Source: README.md, updated 2026-10-10